[gtk: 1/2] gtk/popovermenu: Fix transfer annotation of new_from_model_full()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gtk/popovermenu: Fix transfer annotation of new_from_model_full()
- Date: Tue, 26 Apr 2022 13:08:01 +0000 (UTC)
commit b82fae91775ad4559d67fd3551b778e2222bd74f
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Apr 26 14:25:15 2022 +0200
gtk/popovermenu: Fix transfer annotation of new_from_model_full()
The function doesn't return a full reference, but a floating widget
like comparable constructor functions.
gtk/gtkpopovermenu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkpopovermenu.c b/gtk/gtkpopovermenu.c
index 9daae2b8b8..b2b9aab1ae 100644
--- a/gtk/gtkpopovermenu.c
+++ b/gtk/gtkpopovermenu.c
@@ -762,7 +762,7 @@ gtk_popover_menu_new_from_model (GMenuModel *model)
* %GTK_POPOVER_MENU_NESTED, which makes GTK create traditional,
* nested submenus instead of the default sliding submenus.
*
- * Returns: (transfer full): the new `GtkPopoverMenu`
+ * Returns: the new `GtkPopoverMenu`
*/
GtkWidget *
gtk_popover_menu_new_from_model_full (GMenuModel *model,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]