diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-01-10 16:03:15 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-01-10 16:03:57 +0100 |
commit | d4fe912879ce1b19490ba5729f67a27b1cf397c9 (patch) | |
tree | 2b85d1f1dc04ecf8fbc2c1b16601bcfc2584f2f0 /gtk/gtkwindow.c | |
parent | 2ceb092afca29e6da870c81a67e9049497652689 (diff) | |
download | gtk+-d4fe912879ce1b19490ba5729f67a27b1cf397c9.tar.gz |
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
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |