summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-13 08:25:37 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-13 08:27:20 -0500
commitfff4c8e84171a6e309fb6e4c5f5c11280d1b5641 (patch)
tree1c9b86b8bd900c7be1372455bd7e99c6d0e7d2c4
parent974f8dfc71d5052b9741bc436cd500be47352d47 (diff)
downloadgtk+-fff4c8e84171a6e309fb6e4c5f5c11280d1b5641.tar.gz
Documentation fixes
The documentation for GtkMenuButton was still referring to a "menu" properties in several places, though it has been renamed to "popup".
-rw-r--r--gtk/gtkmenubutton.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c
index dd4a3bba8e..95b2bc73b1 100644
--- a/gtk/gtkmenubutton.c
+++ b/gtk/gtkmenubutton.c
@@ -522,7 +522,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
*
* The #GMenuModel from which the menu to pop up will be created.
* See gtk_menu_button_set_menu_model() for the interaction with the
- * #GtkMenuButton:menu property.
+ * #GtkMenuButton:popup property.
*
* Since: 3.6
*/
@@ -737,13 +737,13 @@ gtk_menu_button_get_popup (GtkMenuButton *menu_button)
* @menu_button: a #GtkMenuButton
* @menu_model: (allow-none): a #GMenuModel
*
- * Sets the #GMenuModel from which the #GtkMenuButton:menu property will be
+ * Sets the #GMenuModel from which the #GtkMenuButton:popup property will be
* filled in, or %NULL to disable the button.
*
* The #GtkMenu will be created with gtk_menu_new_from_model(), so actions
* will be connected as documented there.
*
- * If you #GtkMenuButton:menu * is already set, then its content will be lost
+ * If #GtkMenuButton:popup is already set, then its content will be lost
* and replaced by our newly created #GtkMenu.
*
* Since: 3.6
@@ -869,8 +869,8 @@ gtk_menu_button_get_align_widget (GtkMenuButton *menu_button)
* If the menu when popped out would have collided with screen edges,
* we will do our best to keep it inside the screen and fully visible.
*
- * If you pass GTK_ARROW_NONE for a @direction, the menu will behave
- * as if you passed GTK_ARROW_DOWN (although you won't see any arrows).
+ * If you pass %GTK_ARROW_NONE for a @direction, the menu will behave
+ * as if you passed %GTK_ARROW_DOWN (although you won't see any arrows).
*
* Since: 3.6
*/