mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
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
This commit is contained in:
parent
cbc541d779
commit
d708d43a31
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user