headerbar: remove G_PARAM_CONSTRUCT from custom-title

This fixes the ability to sublcass GtkHeaderBar from a UI template which
contains a custom <child type="title"> element.

https://bugzilla.gnome.org/show_bug.cgi?id=757544
This commit is contained in:
Christian Hergert 2015-11-03 14:36:54 -08:00
parent d65ba7cf97
commit 5f0a8cf136

View File

@ -1892,7 +1892,7 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
P_("Custom Title"),
P_("Custom title widget to display"),
GTK_TYPE_WIDGET,
G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS);
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
header_bar_props[PROP_SPACING] =
g_param_spec_int ("spacing",