diff options
author | Tim Janik <timj@gtk.org> | 1998-04-18 20:33:35 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-04-18 20:33:35 +0000 |
commit | 57703d0170725cbd62bb02a13e1a7479a46e5aa3 (patch) | |
tree | 8dd43b377adb0d189c64a4de8f96e8b505be2dbb /gtk/gtkradiomenuitem.h | |
parent | e3b303c212e5a2616eafc0de2903ae35d6674f68 (diff) | |
download | gtk+-57703d0170725cbd62bb02a13e1a7479a46e5aa3.tar.gz |
new function ala gtk_radio_button_set_group. (gtk_radio_menu_item_init):
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
* gtk/gtkradiomenuitem.h:
* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
ala gtk_radio_button_set_group.
(gtk_radio_menu_item_init): assure that we always have at least a group
that points to self.
* gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
added g_return_if_fail() statements.
(gtk_radio_button_init): assure that we always have at least a group
that points to self.
Diffstat (limited to 'gtk/gtkradiomenuitem.h')
-rw-r--r-- | gtk/gtkradiomenuitem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkradiomenuitem.h b/gtk/gtkradiomenuitem.h index 0c955ffb53..61ffd47207 100644 --- a/gtk/gtkradiomenuitem.h +++ b/gtk/gtkradiomenuitem.h @@ -55,6 +55,8 @@ GtkWidget* gtk_radio_menu_item_new (GSList *group); GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group, const gchar *label); GSList* gtk_radio_menu_item_group (GtkRadioMenuItem *radio_menu_item); +void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, + GSList *group); #ifdef __cplusplus |