]> Pileus Git - ~andy/gtk/commitdiff
Add some missing introspection annotations
authorMatthias Clasen <mclasen@redhat.com>
Tue, 23 Feb 2010 04:47:24 +0000 (23:47 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 23 Feb 2010 04:47:24 +0000 (23:47 -0500)
gdk/gdkvisual.c
gdk/x11/gdkcolor-x11.c
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkvisual-x11.c

index b314dcaf1c3bee7a180c50f933159d55ae93f59a..9e75563c285f4b0831dd65f93a20cd16cdc13c8a 100644 (file)
@@ -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)
index 35c18b85be7d5fdd9f4aafe5af97f579504fc7dc..4fc75b997905488a878425b0c2caee6a6acbe926 100644 (file)
@@ -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
  */
index 1d274f4ed518218ecb4c08a8c17232f1cea9a358..8c494aa81047a0406c3c6e52d5b7a856368b2f09 100644 (file)
@@ -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.
  *
index 1e781655b68556919e6ffcddbecffa75f44aee8a..898543bbd9931e8c314cee45c3f0113fd1da4dff 100644 (file)
@@ -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
  **/