From 6529c07614ebfbfac73f526efb057d8a8e3a7354 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 10 Dec 2009 08:23:40 -0200 Subject: [introspection] Merge in Gtk-custom.c annotations The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations. --- gtk/gtkradiomenuitem.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gtk/gtkradiomenuitem.c') diff --git a/gtk/gtkradiomenuitem.c b/gtk/gtkradiomenuitem.c index f17b5ed2b7..9bb5c112fd 100644 --- a/gtk/gtkradiomenuitem.c +++ b/gtk/gtkradiomenuitem.c @@ -180,6 +180,16 @@ gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, g_object_unref (radio_menu_item); } + +/** + * gtk_radio_menu_item_new_with_label: + * @group: (element-type GtkRadioMenuItem) (transfer full): + * @label: the text for the label + * + * Creates a new #GtkRadioMenuItem whose child is a simple #GtkLabel. + * + * Returns: (transfer none): A new #GtkRadioMenuItem + */ GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, const gchar *label) -- cgit v1.2.1