Commit 2a3d5823 authored by Matthias Clasen's avatar Matthias Clasen

GtkModelMenuItem: Add some property notification

GtkModelMenuItem emits no property notification, since none of its
properties are readable. But the toggled property is just a proxy
for GtkCheckMenuItem::active, so we should ensure that property
notification is emitted for the ::active property.
parent 07d6c691
......@@ -308,6 +308,7 @@ gtk_model_menu_item_set_property (GObject *object, guint prop_id,
case PROP_TOGGLED:
_gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), g_value_get_boolean (value));
g_object_notify (object, "active");
break;
case PROP_ACCEL:
......
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