diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-04-04 11:10:44 +0300 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-08-07 18:14:56 +0300 |
commit | 560952d3c0b942971c29ae7690c95e789ad9499f (patch) | |
tree | 7305ad63764d28658a871200d832bde4b138d875 /gtk/gtktoolitem.c | |
parent | 8062e471d1ee07673a41d226976cd33c1f4d7051 (diff) | |
download | gtk+-560952d3c0b942971c29ae7690c95e789ad9499f.tar.gz |
Chain up relevant GObjectClass:notify vfuncs
These widgets have ancestors other than GObject which could eventually
implement the notify vfunc for their properties. For correctness, they
should chain up the notify vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=673478
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index adae769eb1..26ad1402f7 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -400,6 +400,9 @@ gtk_tool_item_property_notify (GObject *object, if (tool_item->priv->menu_item && strcmp (pspec->name, "sensitive") == 0) gtk_widget_set_sensitive (tool_item->priv->menu_item, gtk_widget_get_sensitive (GTK_WIDGET (tool_item))); + + if (G_OBJECT_CLASS (gtk_tool_item_parent_class)->notify) + G_OBJECT_CLASS (gtk_tool_item_parent_class)->notify (object, pspec); } static void |