diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-10-23 21:43:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-10-29 06:49:58 -0400 |
commit | 83976c47f80f61c49bfa3dd6d3a16cad384053c6 (patch) | |
tree | 7fcda2b734f85dc8464e5567cc968981bd3f505a /gtk/gtkmenusectionbox.c | |
parent | fd945be50b5683f79234b039bc33409e3f67cc83 (diff) | |
download | gtk+-83976c47f80f61c49bfa3dd6d3a16cad384053c6.tar.gz |
Make GtkModelButton a better GtkActionable
Rename the "toggled" property to "active", since that is what
GtkActionHelper expects to update for check and radio actions.
Also make the property readable, since GtkActionHelper wants
to read it.
Diffstat (limited to 'gtk/gtkmenusectionbox.c')
-rw-r--r-- | gtk/gtkmenusectionbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c index f84fa14a59..59a8484481 100644 --- a/gtk/gtkmenusectionbox.c +++ b/gtk/gtkmenusectionbox.c @@ -302,7 +302,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item, g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE); g_object_bind_property (item, "role", widget, "action-role", G_BINDING_SYNC_CREATE); - g_object_bind_property (item, "toggled", widget, "toggled", G_BINDING_SYNC_CREATE); + g_object_bind_property (item, "toggled", widget, "active", G_BINDING_SYNC_CREATE); g_object_bind_property (item, "accel", widget, "accel", G_BINDING_SYNC_CREATE); g_signal_connect (widget, "clicked", G_CALLBACK (gtk_popover_item_activate), item); |