[gnome-games] fullscreen-box: Don't check for value change in is_fullscreen setter
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] fullscreen-box: Don't check for value change in is_fullscreen setter
- Date: Sun, 11 Aug 2019 00:05:22 +0000 (UTC)
commit 1138ff3fac8cf7a2c0c1f380131c51f57df53ac5
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Aug 11 05:03:23 2019 +0500
fullscreen-box: Don't check for value change in is_fullscreen setter
Turns out we don't know the initial value, so this breaks autohide.
src/ui/fullscreen-box.vala | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/ui/fullscreen-box.vala b/src/ui/fullscreen-box.vala
index c8cd22a1..9b2eaf4f 100644
--- a/src/ui/fullscreen-box.vala
+++ b/src/ui/fullscreen-box.vala
@@ -9,9 +9,6 @@ private class Games.FullscreenBox : Gtk.EventBox, Gtk.Buildable {
public bool is_fullscreen {
get { return _is_fullscreen; }
set {
- if (is_fullscreen == value)
- return;
-
_is_fullscreen = value;
if (!autohide)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]