Commit 560952d3 authored by Claudio Saavedra's avatar Claudio Saavedra

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.
parent 8062e471
......@@ -914,6 +914,9 @@ gtk_socket_notify (GObject *object,
if (strcmp (pspec->name, "is-focus") == 0)
socket_update_focus_in (GTK_SOCKET (object));
if (G_OBJECT_CLASS (gtk_socket_parent_class)->notify)
G_OBJECT_CLASS (gtk_socket_parent_class)->notify (object, pspec);
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment