x11: Add/Fix '(type *)' g-i annotations

This commit is contained in:
Rico Tzschichholz 2014-01-09 21:47:04 +01:00
parent 7291d3e780
commit ed5d9b3c3e
8 changed files with 20 additions and 20 deletions

View File

@ -79,12 +79,12 @@ _gdk_x11_device_manager_new (GdkDisplay *display)
/**
* gdk_x11_device_manager_lookup:
* @device_manager: a #GdkDeviceManager
* @device_manager: (type GdkX11DeviceManagerCore): a #GdkDeviceManager
* @device_id: a device ID, as understood by the XInput2 protocol
*
* Returns the #GdkDevice that wraps the given device ID.
*
* Returns: (transfer none): (allow-none): The #GdkDevice wrapping the device ID,
* Returns: (transfer none) (allow-none) (type GdkX11DeviceCore): The #GdkDevice wrapping the device ID,
* or %NULL if the given ID doesn't currently represent a device.
*
* Since: 3.2
@ -120,7 +120,7 @@ gdk_x11_device_manager_lookup (GdkDeviceManager *device_manager,
/**
* gdk_x11_device_get_id:
* @device: a #GdkDevice
* @device: (type GdkX11DeviceCore): a #GdkDevice
*
* Returns the device ID as seen by XInput2.
*

View File

@ -1949,7 +1949,7 @@ gdk_x11_display_finalize (GObject *object)
*
* Find the #GdkDisplay corresponding to @display, if any exists.
*
* Return value: (transfer none): the #GdkDisplay, if found, otherwise %NULL.
* Return value: (transfer none) (type GdkX11Display): the #GdkDisplay, if found, otherwise %NULL.
*
* Since: 2.2
**/
@ -2436,7 +2436,7 @@ gdk_x11_display_list_devices (GdkDisplay *display)
/**
* gdk_x11_register_standard_event_type:
* @display: a #GdkDisplay
* @display: (type GdkX11Display): a #GdkDisplay
* @event_base: first event type code to register
* @n_events: number of event type codes to register
*

View File

@ -1352,7 +1352,7 @@ gdk_x11_keymap_translate_keyboard_state (GdkKeymap *keymap,
/**
* gdk_x11_keymap_get_group_for_state:
* @keymap: a #GdkX11Keymap
* @keymap: (type GdkX11Keymap): a #GdkX11Keymap
* @state: raw state returned from X
*
* Extracts the group from the state field sent in an X Key event.
@ -1440,7 +1440,7 @@ gdk_x11_keymap_add_virtual_modifiers (GdkKeymap *keymap,
/**
* gdk_x11_keymap_key_is_modifier:
* @keymap: a #GdkX11Keymap
* @keymap: (type GdkX11Keymap): a #GdkX11Keymap
* @keycode: the hardware keycode from a key event
*
* Determines whether a particular key code represents a key that

View File

@ -168,7 +168,7 @@ lookup_cached_xatom (GdkDisplay *display,
/**
* gdk_x11_atom_to_xatom_for_display:
* @display: A #GdkDisplay
* @display: (type GdkX11Display): A #GdkDisplay
* @atom: A #GdkAtom, or %GDK_NONE
*
* Converts from a #GdkAtom to the X atom for a #GdkDisplay
@ -264,7 +264,7 @@ gdk_x11_atom_to_xatom (GdkAtom atom)
/**
* gdk_x11_xatom_to_atom_for_display:
* @display: A #GdkDisplay
* @display: (type GdkX11Display): A #GdkDisplay
* @xatom: an X atom
*
* Convert from an X atom for a #GdkDisplay to the corresponding
@ -339,7 +339,7 @@ gdk_x11_xatom_to_atom (Atom xatom)
/**
* gdk_x11_get_xatom_by_name_for_display:
* @display: a #GdkDisplay
* @display: (type GdkX11Display): a #GdkDisplay
* @atom_name: a string
*
* Returns the X atom for a #GdkDisplay corresponding to @atom_name.
@ -398,7 +398,7 @@ gdk_x11_get_xatom_by_name (const gchar *atom_name)
/**
* gdk_x11_get_xatom_name_for_display:
* @display: the #GdkDisplay where @xatom is defined
* @display: (type GdkX11Display): the #GdkDisplay where @xatom is defined
* @xatom: an X atom
*
* Returns the name of an X atom for its display. This

View File

@ -1789,7 +1789,7 @@ get_netwm_cardinal_property (GdkScreen *screen,
/**
* gdk_x11_screen_get_number_of_desktops:
* @screen: a #GdkScreen
* @screen: (type GdkX11Screen): a #GdkScreen
*
* Returns the number of workspaces for @screen when running under a
* window manager that supports multiple workspaces, as described
@ -1808,7 +1808,7 @@ gdk_x11_screen_get_number_of_desktops (GdkScreen *screen)
/**
* gdk_x11_screen_get_current_desktop:
* @screen: a #GdkScreen
* @screen: (type GdkX11Screen): a #GdkScreen
*
* Returns the current workspace for @screen when running under a
* window manager that supports multiple workspaces, as described

View File

@ -476,7 +476,7 @@ _gdk_x11_screen_list_visuals (GdkScreen *screen)
*
* Looks up the #GdkVisual for a particular screen and X Visual ID.
*
* Returns: (transfer none): the #GdkVisual (owned by the screen
* Returns: (transfer none) (type GdkX11Visual): the #GdkVisual (owned by the screen
* object), or %NULL if the visual ID wasn't found.
*
* Since: 2.2
@ -579,7 +579,7 @@ _gdk_visual_get_x11_colormap (GdkVisual *visual)
/**
* gdk_x11_visual_get_xvisual:
* @visual: a #GdkVisual.
* @visual: (type GdkX11Visual): a #GdkVisual.
*
* Returns the X visual belonging to a #GdkVisual.
*

View File

@ -1172,7 +1172,7 @@ x_event_mask_to_gdk_event_mask (long mask)
/**
* gdk_x11_window_foreign_new_for_display:
* @display: the #GdkDisplay where the window handle comes from.
* @display: (type GdkX11Display): the #GdkDisplay where the window handle comes from.
* @window: an XLib <type>Window</type>
*
* Wraps a native window in a #GdkWindow. The function will try to
@ -2168,7 +2168,7 @@ get_netwm_cardinal_property (GdkWindow *window,
/**
* gdk_x11_window_get_desktop:
* @window: a #GdkWindow
* @window: (type GdkX11Window): a #GdkWindow
*
* Gets the number of the workspace @window is on.
*
@ -2186,7 +2186,7 @@ gdk_x11_window_get_desktop (GdkWindow *window)
/**
* gdk_x11_window_move_to_desktop:
* @window: a #GdkWindow
* @window: (type GdkX11Window): a #GdkWindow
* @desktop: the number of the workspace to move the window to
*
* Moves the window to the given workspace when running unde a

View File

@ -79,13 +79,13 @@ _gdk_x11_display_remove_window (GdkDisplay *display,
/**
* gdk_x11_window_lookup_for_display:
* @display: (type GdkX11Window): the #GdkDisplay corresponding to the
* @display: (type GdkX11Display): the #GdkDisplay corresponding to the
* window handle
* @window: an XLib <type>Window</type>
*
* Looks up the #GdkWindow that wraps the given native window handle.
*
* Return value: (transfer none): the #GdkWindow wrapper for the native
* Return value: (transfer none) (type GdkX11Window): the #GdkWindow wrapper for the native
* window, or %NULL if there is none.
*
* Since: 2.24