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
committed by Matthias Clasen
parent 0358fd0b33
commit 80ae3fe6f2

View File

@@ -1897,7 +1897,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",