summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkcursor-x11.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2011-07-28 13:27:23 +0200
committerPavel Holejsovsky <pholejs@src.gnome.org>2011-08-01 11:09:49 +0200
commit21a5b038a7104bda778d8d7c2724f460e7929c9d (patch)
treecf100108163be477fb3608792b8ec760594bc1bf /gdk/x11/gdkcursor-x11.c
parent0893a3fd390d7d1fb40a0d2939852618e40c0289 (diff)
downloadgtk+-21a5b038a7104bda778d8d7c2724f460e7929c9d.tar.gz
Add annotations so that methods are properly paired to objects.
Add type annotations to 1st argument of gdk_x11_* functions so that they are properly recognized as methods of GdkX11 objects. https://bugzilla.gnome.org/show_bug.cgi?id=655496
Diffstat (limited to 'gdk/x11/gdkcursor-x11.c')
-rw-r--r--gdk/x11/gdkcursor-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 80f992aa88..e379748a01 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -286,7 +286,7 @@ _gdk_x11_display_get_cursor_for_type (GdkDisplay *display,
/**
* gdk_x11_cursor_get_xdisplay:
- * @cursor: a #GdkCursor.
+ * @cursor: (type GdkX11Cursor): a #GdkCursor.
*
* Returns the display of a #GdkCursor.
*
@@ -302,7 +302,7 @@ gdk_x11_cursor_get_xdisplay (GdkCursor *cursor)
/**
* gdk_x11_cursor_get_xcursor:
- * @cursor: a #GdkCursor.
+ * @cursor: (type GdkX11Cursor): a #GdkCursor.
*
* Returns the X cursor belonging to a #GdkCursor.
*
@@ -435,7 +435,7 @@ update_cursor (gpointer data,
/**
* gdk_x11_display_set_cursor_theme:
- * @display: a #GdkDisplay
+ * @display: (type GdkX11Display): a #GdkDisplay
* @theme: the name of the cursor theme to use, or %NULL to unset
* a previously set value
* @size: the cursor size to use, or 0 to keep the previous size