From 167f200a0cd5977c40df1729130a366a3a5224a8 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Sun, 20 Jul 2014 10:29:09 +0200 Subject: [PATCH] GtkMenuButton: do not mention GtkArrow in the docs GtkArrow is deprecated and is not used internally anymore by the menu button. Document also the fact that if no direction is specified then the view-context-menu icon is shown. https://bugzilla.gnome.org/show_bug.cgi?id=733441 --- gtk/gtkmenubutton.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c index 5130e35822..605937aad3 100644 --- a/gtk/gtkmenubutton.c +++ b/gtk/gtkmenubutton.c @@ -29,7 +29,10 @@ * * The #GtkMenuButton widget can hold any valid child widget. That is, it * can hold almost any other standard #GtkWidget. The most commonly used - * child is the provided #GtkArrow. + * child is #GtkImage. If no widget is explicitely added to the #GtkMenuButton, + * a #GtkImage is automatically created, using an arrow image oriented + * according to #GtkMenuButton:direction or the generic "view-context-menu" + * icon if the direction is not set. * * The positioning of the popup is determined by the #GtkMenuButton:direction * property of the menu button.