[gtk+] set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property



commit d4fe912879ce1b19490ba5729f67a27b1cf397c9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jan 10 16:03:15 2012 +0100

    set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property
    
    This allows subclass to get the value of this property in their constructed
    method.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667628

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index a9221f2..a04d7fe 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -1021,7 +1021,7 @@ gtk_window_class_init (GtkWindowClass *klass)
                                                         P_("GtkApplication"),
                                                         P_("The GtkApplication for the window"),
                                                         GTK_TYPE_APPLICATION,
-                                                        GTK_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
 
   window_signals[SET_FOCUS] =
     g_signal_new (I_("set-focus"),



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