From 2af7e45860fb447c8da43161e7d81290201a46d0 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Sun, 28 May 2023 11:35:44 +0100 Subject: [PATCH] MenuButton: Always mention child@always-show-arrow get_always_show_arrow() did not mention at all that the custom child is relevant. set_always_show_arrow() only did in the blurb, not for the arg --- gtk/gtkmenubutton.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c index 37263c7411..ba4ad652e3 100644 --- a/gtk/gtkmenubutton.c +++ b/gtk/gtkmenubutton.c @@ -1094,6 +1094,7 @@ gtk_menu_button_get_icon_name (GtkMenuButton *menu_button) * gtk_menu_button_set_always_show_arrow: (attributes org.gtk.Method.set_property=always-show-arrow) * @menu_button: a `GtkMenuButton` * @always_show_arrow: whether to show a dropdown arrow even when using an icon + * or a custom child * * Sets whether to show a dropdown arrow even when using an icon or a custom * child. @@ -1122,9 +1123,11 @@ gtk_menu_button_set_always_show_arrow (GtkMenuButton *menu_button, * gtk_menu_button_get_always_show_arrow: (attributes org.gtk.Method.get_property=always-show-arrow) * @menu_button: a `GtkMenuButton` * - * Gets whether to show a dropdown arrow even when using an icon. + * Gets whether to show a dropdown arrow even when using an icon or a custom + * child. * - * Returns: whether to show a dropdown arrow even when using an icon + * Returns: whether to show a dropdown arrow even when using an icon or a custom + * child. * * Since: 4.4 */