mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 17:50:18 +00:00
GtkMenuShell: Don't use a non-existing property
GtkMenuTrackerItem::visible was removed a few commits ago. It is not necessary to bind visible anyway, since the menu tracker will insert and remove items as their visibility changes.
This commit is contained in:
parent
c8e15e43e9
commit
723dc0667e
@ -2107,7 +2107,6 @@ gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
|
||||
g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "icon", widget, "icon", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "visible", widget, "visible", 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, "accel", widget, "accel", G_BINDING_SYNC_CREATE);
|
||||
|
Loading…
Reference in New Issue
Block a user