aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm24/files/patch-gtk_gtkmm_menushell.cc
blob: 663a44adbe3aace996d50d9be247277e978d832a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gtk/gtkmm/menushell.cc.orig 2017-04-02 16:29:30 UTC
+++ gtk/gtkmm/menushell.cc
@@ -130,7 +130,7 @@ MenuList::iterator MenuList::insert(MenuList::iterator
 {
   const Glib::RefPtr<Gtk::MenuItem> item = element.get_child();
 
-  g_return_val_if_fail(item != 0, position);
+  g_return_val_if_fail(item, position);
   g_return_val_if_fail(gparent() != 0, position);
 
   int pos = -1;