/**
* 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)
* 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
**/
* 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
**/
/**
* 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.
*
* 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
**/
* 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)
* 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)
* 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)
*
* 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,
*
* 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
**/