]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkradiotoolbutton.c
x11: Move remaining APIs into gdkx11utils.h
[~andy/gtk] / gtk / gtkradiotoolbutton.c
index 1aa37da1fb95ab409fba7692ea5a8732db4f6eab..9a37c182717295a27ef7f583672344669d6776b2 100644 (file)
@@ -25,7 +25,7 @@
 #include "gtkradiobutton.h"
 #include "gtkintl.h"
 #include "gtkprivate.h"
-#include "gtkalias.h"
+
 
 enum {
   PROP_0,
@@ -164,11 +164,11 @@ gtk_radio_tool_button_new_from_stock (GSList      *group,
 /**
  * gtk_radio_tool_button_new_from_widget:
  * @group: An existing #GtkRadioToolButton
- * 
+ *
  * Creates a new #GtkRadioToolButton adding it to the same group as @gruup
- * 
- * Return value: The new #GtkRadioToolButton
- * 
+ *
+ * Return value: (transfer full): The new #GtkRadioToolButton
+ *
  * Since: 2.4
  **/
 GtkToolItem *
@@ -187,14 +187,14 @@ gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group)
 /**
  * gtk_radio_tool_button_new_with_stock_from_widget:
  * @group: An existing #GtkRadioToolButton.
- * @stock_id: the name of a stock item 
- * 
+ * @stock_id: the name of a stock item
+ *
  * Creates a new #GtkRadioToolButton adding it to the same group as @group.
  * The new #GtkRadioToolButton will contain an icon and label from the
  * stock item indicated by @stock_id.
- * 
- * Return value: A new #GtkRadioToolButton
- * 
+ *
+ * Return value: (transfer full): A new #GtkRadioToolButton
+ *
  * Since: 2.4
  **/
 GtkToolItem *
@@ -222,11 +222,11 @@ get_radio_button (GtkRadioToolButton *button)
  * @button: a #GtkRadioToolButton
  *
  * Returns the radio button group @button belongs to.
- * 
- * Return value: The group @button belongs to.
- * 
+ *
+ * Return value: (transfer none): The group @button belongs to.
+ *
  * Since: 2.4
- **/
+ */
 GSList *
 gtk_radio_tool_button_get_group (GtkRadioToolButton *button)
 {
@@ -252,6 +252,3 @@ gtk_radio_tool_button_set_group (GtkRadioToolButton *button,
 
   gtk_radio_button_set_group (get_radio_button (button), group);
 }
-
-#define __GTK_RADIO_TOOL_BUTTON_C__
-#include "gtkaliasdef.c"