summaryrefslogtreecommitdiff
path: root/gtk/gtkradiotoolbutton.c
diff options
context:
space:
mode:
authorTorsten Schönfeld <kaffeetisch@gmx.de>2011-10-15 19:18:52 +0200
committerTorsten Schönfeld <kaffeetisch@gmx.de>2011-11-06 16:50:57 +0100
commit4ef61e231114c0a9b64384e5d545a5ff2a012cf6 (patch)
tree816d93c002aaa014c19709e876321eb0c8c116dd /gtk/gtkradiotoolbutton.c
parent88329aeff478dce1b276d6135c608b61c357c9bf (diff)
downloadgtk+-4ef61e231114c0a9b64384e5d545a5ff2a012cf6.tar.gz
gtk: add annotations for some GtkRadio* constructors
Since constructors like gtk_radio_button_new_from_widget take an instance of their type as the first argument, the gi scanner interprets them as methods. https://bugzilla.gnome.org/show_bug.cgi?id=661858
Diffstat (limited to 'gtk/gtkradiotoolbutton.c')
-rw-r--r--gtk/gtkradiotoolbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkradiotoolbutton.c b/gtk/gtkradiotoolbutton.c
index 75fbcd2d35..f56e2cbb00 100644
--- a/gtk/gtkradiotoolbutton.c
+++ b/gtk/gtkradiotoolbutton.c
@@ -184,7 +184,7 @@ gtk_radio_tool_button_new_from_stock (GSList *group,
}
/**
- * gtk_radio_tool_button_new_from_widget:
+ * gtk_radio_tool_button_new_from_widget: (constructor)
* @group: (allow-none): An existing #GtkRadioToolButton, or %NULL
*
* Creates a new #GtkRadioToolButton adding it to the same group as @gruup
@@ -207,7 +207,7 @@ gtk_radio_tool_button_new_from_widget (GtkRadioToolButton *group)
}
/**
- * gtk_radio_tool_button_new_with_stock_from_widget:
+ * gtk_radio_tool_button_new_with_stock_from_widget: (constructor)
* @group: (allow-none): An existing #GtkRadioToolButton.
* @stock_id: the name of a stock item
*