]> Pileus Git - ~andy/gtk/commitdiff
menubutton: don't refer to the non-existant menu property
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 17 Oct 2012 21:02:53 +0000 (17:02 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 17 Oct 2012 21:05:22 +0000 (17:05 -0400)
7c6454246e7fa181d9e16f3520bc6d3765168f40 removed the property, but
forgot to change the name in a g_object_notify().

gtk/gtkmenubutton.c

index 60c37399b446d77a6adfa28156cc4639e13a1223..09ec60d339a9cd4455b745aabd3a8c1d0325f139 100644 (file)
@@ -684,7 +684,7 @@ _gtk_menu_button_set_popup_with_func (GtkMenuButton                 *menu_button
       gtk_widget_set_sensitive (GTK_WIDGET (menu_button), FALSE);
     }
 
-  g_object_notify (G_OBJECT (menu_button), "menu");
+  g_object_notify (G_OBJECT (menu_button), "popup");
   g_object_notify (G_OBJECT (menu_button), "menu-model");
 }