summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bilien <jobi@litl.com>2010-04-09 13:53:19 -0400
committerJohan Bilien <jobi@litl.com>2010-04-09 13:53:19 -0400
commitd36b281a58e97d61b2e39d609b88eaa60c66ee32 (patch)
tree7a83a6a53b0df166cadd3f202a6ea2d8c4f6e6e8
parenteb7121c4e6dc1bd124fc2410fc9f65a95c1aa302 (diff)
downloadgdk-pixbuf-d36b281a58e97d61b2e39d609b88eaa60c66ee32.tar.gz
Fixed annotation of gdk_screen_get_rgb_colormap and similar
These return an object with no extra references, need to be transfer none.
-rw-r--r--gdk/gdkrgb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 347ff59e0..7885c920a 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -3671,7 +3671,7 @@ gdk_rgb_ditherable (void)
* render to any colormap and visual. So there's no need to call this
* function.
*
- * Return value: the preferred colormap
+ * Return value: (transfer none): the preferred colormap
**/
GdkColormap *
gdk_rgb_get_colormap (void)
@@ -3696,7 +3696,7 @@ gdk_rgb_get_colormap (void)
* it can render to any colormap and visual. So there's no need to
* call this function.
*
- * Return value: the preferred colormap
+ * Return value: (transfer none): the preferred colormap
*
* Since: 2.2
**/
@@ -3727,7 +3727,7 @@ gdk_screen_get_rgb_colormap (GdkScreen *screen)
* the optimal one in those previous versions. GdkRGB can now render to
* drawables with any visual.
*
- * Return value: The #GdkVisual chosen by GdkRGB.
+ * Return value: (transfer none): The #GdkVisual chosen by GdkRGB.
*
* Since: 2.2
**/
@@ -3748,7 +3748,7 @@ gdk_screen_get_rgb_visual (GdkScreen *screen)
* in those previous versions. GdkRGB can now render to drawables with
* any visual.
*
- * Return value: The #GdkVisual chosen by GdkRGB.
+ * Return value: (transfer none): The #GdkVisual chosen by GdkRGB.
**/
GdkVisual *
gdk_rgb_get_visual (void)