[gtk+] menubutton: don't refer to the non-existant menu property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] menubutton: don't refer to the non-existant menu property
- Date: Wed, 17 Oct 2012 21:05:31 +0000 (UTC)
commit 15fe3038be124bc68559112d3f63f4eee3b42cf4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 17 17:02:53 2012 -0400
menubutton: don't refer to the non-existant menu property
7c6454246e7fa181d9e16f3520bc6d3765168f40 removed the property, but
forgot to change the name in a g_object_notify().
gtk/gtkmenubutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index 60c3739..09ec60d 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -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");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]