[gtk+] gtkmenutoolbutton: Fix show-menu API docs
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkmenutoolbutton: Fix show-menu API docs
- Date: Wed, 30 May 2012 16:49:44 +0000 (UTC)
commit d708d43a31824948103219991a513f037d1462ba
Author: Bastien Nocera <hadess hadess net>
Date: Tue May 29 19:06:40 2012 +0100
gtkmenutoolbutton: Fix show-menu API docs
It's "set" not "get" that one needs to call to set the menu.
https://bugzilla.gnome.org/show_bug.cgi?id=677055
gtk/gtkmenutoolbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c
index 703ebe7..a2ede8c 100644
--- a/gtk/gtkmenutoolbutton.c
+++ b/gtk/gtkmenutoolbutton.c
@@ -269,7 +269,7 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass)
* The ::show-menu signal is emitted before the menu is shown.
*
* It can be used to populate the menu on demand, using
- * gtk_menu_tool_button_get_menu().
+ * gtk_menu_tool_button_set_menu().
* Note that even if you populate the menu dynamically in this way,
* you must set an empty menu on the #GtkMenuToolButton beforehand,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]