summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-04-28 21:53:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-04-28 21:55:41 -0400
commit723dc0667e56030f72073945d7aec75b06cc5238 (patch)
treeaf5785eee7a2ddb421132bf1994b0887531fbf65 /gtk
parentc8e15e43e9009fc0768d5bf893ff58f0f0fdc8a1 (diff)
downloadgtk+-723dc0667e56030f72073945d7aec75b06cc5238.tar.gz
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.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkmenushell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 3c669a6cf7..ca0f1bb63d 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -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);