summaryrefslogtreecommitdiff
path: root/libwnck
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2011-01-20 17:03:09 +0100
committerVincent Untz <vuntz@gnome.org>2011-01-20 17:03:09 +0100
commit83a4aa25bc163efb23945aceda571ae5bee8ed33 (patch)
treecee5dd82c604df532d7406234cd08b88ceff155b /libwnck
parent0ebc4fc1079a5c406840f43a36c30d4f721ddb8c (diff)
downloadlibwnck-83a4aa25bc163efb23945aceda571ae5bee8ed33.tar.gz
introspection: Add missing annotations
Diffstat (limited to 'libwnck')
-rw-r--r--libwnck/application.c11
-rw-r--r--libwnck/class-group.c12
-rw-r--r--libwnck/window.c12
3 files changed, 18 insertions, 17 deletions
diff --git a/libwnck/application.c b/libwnck/application.c
index a7349ce..1c05419 100644
--- a/libwnck/application.c
+++ b/libwnck/application.c
@@ -410,8 +410,9 @@ find_icon_window (WnckApplication *app)
* suboptimal heuristic is used to find an appropriate icon. If no icon was
* found, a fallback icon is used.
*
- * Return value: the icon for @app. The caller should reference the returned
- * <classname>GdkPixbuf</classname> if it needs to keep the icon around.
+ * Return value: (transfer none): the icon for @app. The caller should
+ * reference the returned <classname>GdkPixbuf</classname> if it needs to keep
+ * the icon around.
**/
GdkPixbuf*
wnck_application_get_icon (WnckApplication *app)
@@ -442,9 +443,9 @@ wnck_application_get_icon (WnckApplication *app)
* a suboptimal heuristic is used to find an appropriate icon. If no mini-icon
* was found, a fallback mini-icon is used.
*
- * Return value: the mini-icon for @app. The caller should reference the
- * returned <classname>GdkPixbuf</classname> if it needs to keep the mini-icon
- * around.
+ * Return value: (transfer none): the mini-icon for @app. The caller should
+ * reference the returned <classname>GdkPixbuf</classname> if it needs to keep
+ * the mini-icon around.
**/
GdkPixbuf*
wnck_application_get_mini_icon (WnckApplication *app)
diff --git a/libwnck/class-group.c b/libwnck/class-group.c
index 0bcaf9e..4adbdc1 100644
--- a/libwnck/class-group.c
+++ b/libwnck/class-group.c
@@ -578,9 +578,9 @@ wnck_class_group_get_name (WnckClassGroup *class_group)
* #WnckWindow in @class_group, then at all the #WnckWindow in @class_group. If
* no icon was found, a fallback icon is used.
*
- * Return value: the icon for @class_group. The caller should reference the
- * returned <classname>GdkPixbuf</classname> if it needs to keep the icon
- * around.
+ * Return value: (transfer none): the icon for @class_group. The caller should
+ * reference the returned <classname>GdkPixbuf</classname> if it needs to keep
+ * the icon around.
*
* Since: 2.2
**/
@@ -600,9 +600,9 @@ wnck_class_group_get_icon (WnckClassGroup *class_group)
* properly find the mini-icon, the same suboptimal heuristic as the one for
* wnck_class_group_get_icon() is used to find it.
*
- * Return value: the mini-icon for @class_group. The caller should reference
- * the returned <classname>GdkPixbuf</classname> if it needs to keep the
- * mini-icon around.
+ * Return value: (transfer none): the mini-icon for @class_group. The caller
+ * should reference the returned <classname>GdkPixbuf</classname> if it needs
+ * to keep the mini-icon around.
*
* Since: 2.2
**/
diff --git a/libwnck/window.c b/libwnck/window.c
index 285e8aa..1cb8734 100644
--- a/libwnck/window.c
+++ b/libwnck/window.c
@@ -2104,9 +2104,9 @@ get_icons (WnckWindow *window)
* icon is used. wnck_window_get_icon_is_fallback() can be used to tell if the
* icon is the fallback icon.
*
- * Return value: the icon for @window. The caller should reference the
- * returned <classname>GdkPixbuf</classname> if it needs to keep the icon
- * around.
+ * Return value: (transfer none): the icon for @window. The caller should
+ * reference the returned <classname>GdkPixbuf</classname> if it needs to keep
+ * the icon around.
**/
GdkPixbuf*
wnck_window_get_icon (WnckWindow *window)
@@ -2130,9 +2130,9 @@ wnck_window_get_icon (WnckWindow *window)
* fallback mini-icon is used. wnck_window_get_icon_is_fallback() can be used
* to tell if the mini-icon is the fallback mini-icon.
*
- * Return value: the mini-icon for @window. The caller should reference the
- * returned <classname>GdkPixbuf</classname> if it needs to keep the icon
- * around.
+ * Return value: (transfer none): the mini-icon for @window. The caller should
+ * reference the returned <classname>GdkPixbuf</classname> if it needs to keep
+ * the icon around.
**/
GdkPixbuf*
wnck_window_get_mini_icon (WnckWindow *window)