[gnome-sudoku] Remove new fullscreen code



commit 9ee422744ac194ee0122a2ba8e34fbc4612044ae
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Aug 12 20:24:39 2014 -0500

    Remove new fullscreen code
    
    This isn't very useful since we got rid of fullscreen.

 src/gnome-sudoku.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index c02ee1c..b0ece3d 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -7,7 +7,6 @@ using Gdk;
 public class Sudoku : Gtk.Application
 {
     private GLib.Settings settings;
-    private bool is_fullscreen;
     private bool is_maximized;
     private int window_width;
     private int window_height;
@@ -193,7 +192,7 @@ public class Sudoku : Gtk.Application
 
     private bool window_configure_event_cb (Gdk.EventConfigure event)
     {
-        if (!is_maximized && !is_fullscreen)
+        if (!is_maximized)
         {
             window_width = event.width;
             window_height = event.height;
@@ -206,8 +205,6 @@ public class Sudoku : Gtk.Application
     {
         if ((event.changed_mask & Gdk.WindowState.MAXIMIZED) != 0)
             is_maximized = (event.new_window_state & Gdk.WindowState.MAXIMIZED) != 0;
-        if ((event.changed_mask & Gdk.WindowState.FULLSCREEN) != 0)
-            is_fullscreen = (event.new_window_state & Gdk.WindowState.FULLSCREEN) != 0;
         return false;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]