summaryrefslogtreecommitdiff
path: root/gtk/gtkmenutracker.c
diff options
context:
space:
mode:
authorWill Greenberg <will@endlessm.com>2014-06-09 15:22:24 -0700
committerMatthias Clasen <mclasen@redhat.com>2014-06-14 21:26:22 -0400
commitceed0ee7032810476e1563884a7cb04c8fad8ce8 (patch)
tree11933a32437a11550b530f4c6a07264832ac0106 /gtk/gtkmenutracker.c
parenta666827d3a113de55b7a539d37f6764eb94a91a2 (diff)
downloadgtk+-ceed0ee7032810476e1563884a7cb04c8fad8ce8.tar.gz
Fixes GtkMenuTrackerItem visible flag reference
Previously GtkMenuTracker tried to access "gtk_menu_tracker_item_get_is_visible", but the correct getter is "_gtk_menu_tracker_item_is_visible". This commit corrects this reference https://bugzilla.gnome.org/show_bug.cgi?id=731430
Diffstat (limited to 'gtk/gtkmenutracker.c')
-rw-r--r--gtk/gtkmenutracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenutracker.c b/gtk/gtkmenutracker.c
index 46d87ebadc..fc08aec212 100644
--- a/gtk/gtkmenutracker.c
+++ b/gtk/gtkmenutracker.c
@@ -229,7 +229,7 @@ gtk_menu_tracker_item_visibility_changed (GtkMenuTrackerItem *item,
gboolean was_visible;
gint offset = 0;
- is_now_visible = gtk_menu_tracker_item_get_is_visible (item);
+ is_now_visible = _gtk_menu_tracker_item_is_visible (item);
/* remember: the item is our model */
section = gtk_menu_tracker_section_find_model (tracker->toplevel, item, &offset);