From 0c1cbfed536caa5ecba2a00e117ae58d067f4666 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 20 Aug 2014 16:18:45 +0200 Subject: [PATCH] gtk: Fix transfer annotations gtk_binding_set_new and *_by_class Those instances are exclusively handled internally and can not be freed. --- gtk/gtkbindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c index f2f9c01578..6218043ec0 100644 --- a/gtk/gtkbindings.c +++ b/gtk/gtkbindings.c @@ -669,7 +669,7 @@ gtk_binding_entry_activate (GtkBindingEntry *entry, * GTK+ maintains a global list of binding sets. Each binding set has * a unique name which needs to be specified upon creation. * - * Returns: (transfer full): new binding set + * Returns: (transfer none): new binding set */ GtkBindingSet* gtk_binding_set_new (const gchar *set_name) @@ -700,7 +700,7 @@ gtk_binding_set_new (const gchar *set_name) * the passed in class structure. New binding sets are created on * demand by this function. * - * Returns: (transfer full): the binding set corresponding to + * Returns: (transfer none): the binding set corresponding to * @object_class */ GtkBindingSet*