summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusicon.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-21 00:18:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-21 00:18:11 -0400
commite0aa12eb0ab8d20a2bc9de7d89c779d3566ee669 (patch)
tree63a25f9dd34d5a7b8776c37bccb197bf5d63bfb0 /gtk/gtkstatusicon.c
parentca251cf1d45ed6be71065d058313b9b22d36f10d (diff)
downloadgtk+-e0aa12eb0ab8d20a2bc9de7d89c779d3566ee669.tar.gz
Tons of transfer annotations
Diffstat (limited to 'gtk/gtkstatusicon.c')
-rw-r--r--gtk/gtkstatusicon.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index e304faf412..92ae3b9f07 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -2024,7 +2024,8 @@ gtk_status_icon_get_storage_type (GtkStatusIcon *status_icon)
* The caller of this function does not own a reference to the
* returned pixbuf.
*
- * Return value: the displayed pixbuf, or %NULL if the image is empty.
+ * Return value: (transfer none): the displayed pixbuf,
+ * or %NULL if the image is empty.
*
* Since: 2.10
**/
@@ -2123,7 +2124,7 @@ gtk_status_icon_get_icon_name (GtkStatusIcon *status_icon)
*
* If this function fails, @icon is left unchanged;
*
- * Returns: the displayed icon, or %NULL if the image is empty
+ * Returns: (transfer none): the displayed icon, or %NULL if the image is empty
*
* Since: 2.14
**/
@@ -2192,13 +2193,13 @@ gtk_status_icon_set_screen (GtkStatusIcon *status_icon,
#endif
}
-/**
+/**
* gtk_status_icon_get_screen:
* @status_icon: a #GtkStatusIcon
*
* Returns the #GdkScreen associated with @status_icon.
*
- * Return value: a #GdkScreen.
+ * Return value: (transfer none): a #GdkScreen.
*
* Since: 2.12
*/
@@ -2207,7 +2208,7 @@ gtk_status_icon_get_screen (GtkStatusIcon *status_icon)
{
g_return_val_if_fail (GTK_IS_STATUS_ICON (status_icon), NULL);
-#ifdef GDK_WINDOWING_X11
+#ifdef GDK_WINDOWING_X11
return gtk_window_get_screen (GTK_WINDOW (status_icon->priv->tray_icon));
#else
return gdk_screen_get_default ();