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
This commit is contained in:
Will Greenberg 2014-06-09 15:22:24 -07:00 committed by Matthias Clasen
parent a666827d3a
commit ceed0ee703

View File

@ -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);