[gtk+/gtk-3-12] docs: Add missing transfer annotation to GtkBox
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-12] docs: Add missing transfer annotation to GtkBox
- Date: Mon, 12 May 2014 12:38:10 +0000 (UTC)
commit 45e65f2d4929fa6b68ebf584a6cee6163dfd0c0f
Author: Marcus Karlsson <mk acc umu se>
Date: Sat Apr 12 20:22:15 2014 +0200
docs: Add missing transfer annotation to GtkBox
The gtk_box_get_center_widget function is missing a transfer annotation
for the returned widget. No transfer is done, so set transfer to none.
https://bugzilla.gnome.org/show_bug.cgi?id=728093
gtk/gtkbox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 6b9391e..557d9fd 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -2614,7 +2614,7 @@ gtk_box_set_center_widget (GtkBox *box,
*
* Retrieves the center widget of the box.
*
- * Returns: the center widget
+ * Returns: (transfer none): the center widget
*
* Since: 3.12
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]