[gtk+/gi-annotations] GI annotations: fix transfer of constructors.
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gi-annotations] GI annotations: fix transfer of constructors.
- Date: Mon, 10 Jan 2011 05:37:52 +0000 (UTC)
commit 31662b5e74a7cb9246bfb164f8d3d00bca3c2497
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Mon Jan 10 06:26:37 2011 +0100
GI annotations: fix transfer of constructors.
Assorted gtk_radio_button_new_xxxx methods should have (transfer
none), because created radio button is initially unowned.
gtk/gtkradiobutton.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 3fd7153..2ec2098 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -488,7 +488,7 @@ gtk_radio_button_new_with_mnemonic (GSList *group,
* @radio_group_member. As with gtk_radio_button_new(), a widget
* should be packed into the radio button.
*
- * Returns: (transfer full): a new radio button.
+ * Returns: (transfer none): a new radio button.
*/
GtkWidget*
gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member)
@@ -507,7 +507,7 @@ gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member)
* Creates a new #GtkRadioButton with a text label, adding it to
* the same group as @radio_group_member.
*
- * Returns: (transfer full): a new radio button.
+ * Returns: (transfer none): a new radio button.
*/
GtkWidget*
gtk_radio_button_new_with_label_from_widget (GtkRadioButton *radio_group_member,
@@ -529,7 +529,7 @@ gtk_radio_button_new_with_label_from_widget (GtkRadioButton *radio_group_member,
* will be created using gtk_label_new_with_mnemonic(), so underscores
* in @label indicate the mnemonic for the button.
*
- * Returns: (transfer full): a new #GtkRadioButton
+ * Returns: (transfer none): a new #GtkRadioButton
**/
GtkWidget*
gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *radio_group_member,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]