[gtk+] [gi] annotate gdk_container_set_user_data to take a GObject



commit c3e0a0035e05952136a78e11e7e1756a962fed32
Author: John (J5) Palmieri <johnp redhat com>
Date:   Sun Aug 14 08:05:28 2011 -0400

    [gi] annotate gdk_container_set_user_data to take a GObject
    
     * this allows bindings to correctly marshal the parameter

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 71405f3..548330c 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2043,7 +2043,7 @@ gdk_window_destroy (GdkWindow *window)
 /**
  * gdk_window_set_user_data:
  * @window: a #GdkWindow
- * @user_data: (allow-none): user data
+ * @user_data: (allow-none) (type GObject.Object): user data
  *
  * For most purposes this function is deprecated in favor of
  * g_object_set_data(). However, for historical reasons GTK+ stores



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