[five-or-more] Remove unused window-is-fullscreen setting



commit 2b8da8bcc53fa0ea147949f4e516c36f3cf779a9
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Mar 26 08:22:38 2014 -0500

    Remove unused window-is-fullscreen setting

 data/org.gnome.five-or-more.gschema.xml |    4 ----
 src/glines.c                            |    3 ---
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/data/org.gnome.five-or-more.gschema.xml b/data/org.gnome.five-or-more.gschema.xml
index b29775c..27bcbaf 100644
--- a/data/org.gnome.five-or-more.gschema.xml
+++ b/data/org.gnome.five-or-more.gschema.xml
@@ -47,9 +47,5 @@
       <default>false</default>
       <summary>true if the window is maximized</summary>
     </key>
-    <key name="window-is-fullscreen" type="b">
-      <default>false</default>
-      <summary>true if the window is fullscren</summary>
-    </key>
   </schema>
 </schemalist>
diff --git a/src/glines.c b/src/glines.c
index 6489b05..6c82158 100644
--- a/src/glines.c
+++ b/src/glines.c
@@ -1584,8 +1584,6 @@ startup_cb (GApplication *application)
   g_signal_connect (GTK_WINDOW (app), "configure-event", G_CALLBACK (window_configure_event_cb), NULL);
   g_signal_connect (GTK_WINDOW (app), "window-state-event", G_CALLBACK (window_state_event_cb), NULL);
   gtk_window_set_default_size (GTK_WINDOW (app), g_settings_get_int (settings, "window-width"), 
g_settings_get_int (settings, "window-height"));
-  if (g_settings_get_boolean (settings, "window-is-fullscreen"))
-    gtk_window_fullscreen (GTK_WINDOW (app));
   if (g_settings_get_boolean (settings, "window-is-maximized"))
     gtk_window_maximize (GTK_WINDOW (app));
   gtk_container_set_border_width (GTK_CONTAINER (app), 20);
@@ -1651,7 +1649,6 @@ shutdown_cb (GApplication *application)
   g_settings_set_int (settings, "window-width", window_width);
   g_settings_set_int (settings, "window-height", window_height);
   g_settings_set_boolean (settings, "window-is-maximized", window_is_maximized);
-  g_settings_set_boolean (settings, "window-is-fullscreen", window_is_fullscreen); 
 }
 
 int


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