[gnome-initial-setup] Don't pass a geometry_widget



commit 4c65fb56530911d06013a7c2f87c50bf47c4946c
Author: Benjamin Otte <otte redhat com>
Date:   Sat Dec 14 01:12:07 2013 +0100

    Don't pass a geometry_widget
    
    NULL is the correct value to pass here as we don't want to use a geometry
    widget. (FIXME: Find a one-sentence description of what a geometry
    widget is for use in GTK docs and this commit message.)

 gnome-initial-setup/gis-driver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c
index b508450..8ee11e4 100644
--- a/gnome-initial-setup/gis-driver.c
+++ b/gnome-initial-setup/gis-driver.c
@@ -102,7 +102,7 @@ prepare_main_window (GisDriver *driver)
   size_hints.win_gravity = GDK_GRAVITY_CENTER;
 
   gtk_window_set_geometry_hints (priv->main_window,
-                                 GTK_WIDGET (priv->main_window),
+                                 NULL,
                                  &size_hints,
                                  GDK_HINT_MIN_SIZE | GDK_HINT_WIN_GRAVITY);
 


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