[gtk+/gtk-3-18] headerbar: remove G_PARAM_CONSTRUCT from custom-title
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-18] headerbar: remove G_PARAM_CONSTRUCT from custom-title
- Date: Mon, 9 Nov 2015 13:52:55 +0000 (UTC)
commit 80ae3fe6f2f5f747b04330b7c8a11c6b531938db
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 3 14:36:54 2015 -0800
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
gtk/gtkheaderbar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 042bb42..555d513 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]