summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkxid.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/gdkxid.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/gdkxid.c')
-rw-r--r--gdk/x11/gdkxid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/x11/gdkxid.c b/gdk/x11/gdkxid.c
index cb6639cb9e..3950eede7f 100644
--- a/gdk/x11/gdkxid.c
+++ b/gdk/x11/gdkxid.c
@@ -81,7 +81,8 @@ _gdk_x11_display_remove_window (GdkDisplay *display,
/**
* gdk_x11_window_lookup_for_display:
- * @display: the #GdkDisplay corresponding to the window handle
+ * @display: (type GdkX11Window): the #GdkDisplay corresponding to the
+ * window handle
* @window: an XLib <type>Window</type>
*
* Looks up the #GdkWindow that wraps the given native window handle.