From d4fe912879ce1b19490ba5729f67a27b1cf397c9 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 10 Jan 2012 16:03:15 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index a9221f26ed..a04d7fef60 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"),