Commit bcee7bda authored by Matthias Clasen's avatar Matthias Clasen

Add some missing introspection annotations

parent f0ce4dca
......@@ -48,11 +48,11 @@ gdk_list_visuals (void)
/**
* gdk_visual_get_system:
*
* Get the system'sdefault visual for the default GDK screen.
* Get the system's default visual for the default GDK screen.
* This is the visual for the root window of the display.
* The return value should not be freed.
*
* Return value: system visual
* Return value: (transfer none): system visual
**/
GdkVisual*
gdk_visual_get_system (void)
......
......@@ -351,7 +351,7 @@ gdk_colormap_sync (GdkColormap *colormap,
*
* Gets the system's default colormap for @screen
*
* Returns: the default colormap for @screen.
* Returns: (transfer none): the default colormap for @screen.
*
* Since: 2.2
*/
......
......@@ -527,8 +527,8 @@ gdk_screen_get_monitor_geometry (GdkScreen *screen,
* For setting an overall opacity for a top-level window, see
* gdk_window_set_opacity().
* Return value: a colormap to use for windows with an alpha channel
* or %NULL if the capability is not available.
* Return value: (transfer none): a colormap to use for windows with
* an alpha channel or %NULL if the capability is not available.
*
* Since: 2.8
**/
......@@ -559,8 +559,8 @@ gdk_screen_get_rgba_colormap (GdkScreen *screen)
* alpha channel. See the docs for gdk_screen_get_rgba_colormap()
* for caveats.
*
* Return value: a visual to use for windows with an alpha channel
* or %NULL if the capability is not available.
* Return value: (transfer none): a visual to use for windows with an
* alpha channel or %NULL if the capability is not available.
*
* Since: 2.8
**/
......@@ -579,7 +579,7 @@ gdk_screen_get_rgba_visual (GdkScreen *screen)
/**
* gdk_x11_screen_get_xscreen:
* @screen: a #GdkScreen.
* @returns: an Xlib <type>Screen*</type>
* @returns: (transfer none): an Xlib <type>Screen*</type>
*
* Returns the screen of a #GdkScreen.
*
......
......@@ -349,7 +349,7 @@ gdk_visual_get_best_type (void)
* This is the visual for the root window of the display.
* The return value should not be freed.
*
* Return value: the system visual
* Return value: (transfer none): the system visual
*
* Since: 2.2
**/
......@@ -367,7 +367,7 @@ gdk_screen_get_system_visual (GdkScreen * screen)
* Get the visual with the most available colors for the default
* GDK screen. The return value should not be freed.
*
* Return value: best visual
* Return value: (transfer none): best visual
**/
GdkVisual*
gdk_visual_get_best (void)
......@@ -386,7 +386,7 @@ gdk_visual_get_best (void)
* over grayscale or fixed-colormap visuals. The return value should not
* be freed. %NULL may be returned if no visual supports @depth.
*
* Return value: best visual for the given depth
* Return value: (transfer none): best visual for the given depth
**/
GdkVisual*
gdk_visual_get_best_with_depth (gint depth)
......@@ -415,7 +415,7 @@ gdk_visual_get_best_with_depth (gint depth)
* should not be freed. %NULL may be returned if no visual has type
* @visual_type.
*
* Return value: best visual of the given type
* Return value: (transfer none): best visual of the given type
**/
GdkVisual*
gdk_visual_get_best_with_type (GdkVisualType visual_type)
......@@ -442,7 +442,8 @@ gdk_visual_get_best_with_type (GdkVisualType visual_type)
*
* Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
*
* Return value: best visual with both @depth and @visual_type, or %NULL if none
* Return value: (transfer none): best visual with both @depth and
* @visual_type, or %NULL if none
**/
GdkVisual*
gdk_visual_get_best_with_both (gint depth,
......@@ -660,7 +661,7 @@ gdk_x11_visual_get_xvisual (GdkVisual *visual)
*
* Gets the screen to which this visual belongs
*
* Return value: the screen to which this visual belongs.
* Return value: (transfer none): the screen to which this visual belongs.
*
* Since: 2.2
**/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment