diff options
author | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-10-15 19:18:52 +0200 |
---|---|---|
committer | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-11-06 16:50:57 +0100 |
commit | 4ef61e231114c0a9b64384e5d545a5ff2a012cf6 (patch) | |
tree | 816d93c002aaa014c19709e876321eb0c8c116dd /gtk/gtkradiomenuitem.c | |
parent | 88329aeff478dce1b276d6135c608b61c357c9bf (diff) | |
download | gtk+-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/gtkradiomenuitem.c')
-rw-r--r-- | gtk/gtkradiomenuitem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c index a38f667e4d..d64a3c4285 100644 --- a/gtk/gtkradiomenuitem.c +++ b/gtk/gtkradiomenuitem.c @@ -298,7 +298,7 @@ gtk_radio_menu_item_new_with_mnemonic (GSList *group, } /** - * gtk_radio_menu_item_new_from_widget: + * gtk_radio_menu_item_new_from_widget: (constructor) * @group: An existing #GtkRadioMenuItem * * Creates a new #GtkRadioMenuItem adding it to the same group as @group. @@ -321,7 +321,7 @@ gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group) } /** - * gtk_radio_menu_item_new_with_mnemonic_from_widget: + * gtk_radio_menu_item_new_with_mnemonic_from_widget: (constructor) * @group: An existing #GtkRadioMenuItem * @label: the text of the button, with an underscore in front of the * mnemonic character @@ -351,7 +351,7 @@ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group, } /** - * gtk_radio_menu_item_new_with_label_from_widget: + * gtk_radio_menu_item_new_with_label_from_widget: (constructor) * @group: an existing #GtkRadioMenuItem * @label: the text for the label * |