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
This commit is contained in:
Pavel Holejsovsky
2011-07-28 13:27:23 +02:00
parent 0893a3fd39
commit 21a5b038a7
7 changed files with 32 additions and 30 deletions

View File

@ -457,7 +457,7 @@ _gdk_x11_screen_list_visuals (GdkScreen *screen)
/**
* gdk_x11_screen_lookup_visual:
* @screen: a #GdkScreen.
* @screen: (type GdkX11Screen): a #GdkScreen.
* @xvisualid: an X Visual ID.
*
* Looks up the #GdkVisual for a particular screen and X Visual ID.