summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 10:37:17 +0100
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-01-20 10:38:38 +0100
commit9389054da2c5e125b140a3af9cbaa3b8e664b51f (patch)
treefb1afabc4f22c918fcd16c3cf27eeff42cec2b65 /gdk
parentb29af18a268d595f84d0904ea97c67d03e2b984b (diff)
downloadgtk+-9389054da2c5e125b140a3af9cbaa3b8e664b51f.tar.gz
[GI] Add (type) annotations to real types
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkdevice.c7
-rw-r--r--gdk/gdkrgba.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index 1b772bae3b..e6ee01d5dd 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -912,9 +912,10 @@ _gdk_device_set_associated_device (GdkDevice *device,
* the list of slave devices attached to it, otherwise it will return
* %NULL
*
- * Returns: (transfer container): the list of slave devices, or %NULL. The
- * list must be freed with g_list_free(), the contents of the list
- * are owned by GTK+ and should not be freed.
+ * Returns: (transfer container) (element-type GdkDevice): the list of
+ * slave devices, or %NULL. The list must be freed with
+ * g_list_free(), the contents of the list are owned by GTK+
+ * and should not be freed.
**/
GList *
gdk_device_list_slave_devices (GdkDevice *device)
diff --git a/gdk/gdkrgba.c b/gdk/gdkrgba.c
index 97c4071119..de06cb27c7 100644
--- a/gdk/gdkrgba.c
+++ b/gdk/gdkrgba.c
@@ -272,7 +272,7 @@ gdk_rgba_parse (GdkRGBA *rgba,
/**
* gdk_rgba_hash:
- * @p: a #GdkRGBA pointer.
+ * @p: (type GdkRGBA): a #GdkRGBA pointer.
*
* A hash function suitable for using for a hash
* table that stores #GdkRGBA<!-- -->s.
@@ -294,8 +294,8 @@ gdk_rgba_hash (gconstpointer p)
/**
* gdk_rgba_equal:
- * @p1: a #GdkRGBA pointer.
- * @p2: another #GdkRGBA pointer.
+ * @p1: (type GdkRGBA): a #GdkRGBA pointer.
+ * @p2: (type GdkRGBA): another #GdkRGBA pointer.
*
* Compares two RGBA colors.
*