[gtk+] gtk: Fix transfer annotations gtk_binding_set_new and *_by_class



commit 0c1cbfed536caa5ecba2a00e117ae58d067f4666
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Aug 20 16:18:45 2014 +0200

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkbindings.c b/gtk/gtkbindings.c
index f2f9c01..6218043 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*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]