From ba69a30d270892646778fd075d94dbcb5fa6a845 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 67cbbd12b2..50c88b145e 100644 --- a/gtk/gtkmenubutton.c +++ b/gtk/gtkmenubutton.c @@ -1073,6 +1073,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. @@ -1101,9 +1102,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 */ -- 2.30.2