projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc541d
)
gtkmenutoolbutton: Fix show-menu API docs
author
Bastien Nocera
<hadess@hadess.net>
Tue, 29 May 2012 18:06:40 +0000
(19:06 +0100)
committer
Bastien Nocera
<hadess@hadess.net>
Wed, 30 May 2012 16:49:25 +0000
(17:49 +0100)
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
patch
|
blob
|
history
diff --git
a/gtk/gtkmenutoolbutton.c
b/gtk/gtkmenutoolbutton.c
index 703ebe7e977b6a244bbf6ecf9f23e8e794ee11d5..a2ede8ce0dbf8cfe1131b0f12875eff35c6142f3 100644
(file)
--- 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,