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
This commit is contained in:
Guillaume Desmottes 2012-01-10 16:03:15 +01:00
parent 2ceb092afc
commit d4fe912879

View File

@ -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"),