summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2001-08-28 05:05:53 +0000
committerManish Singh <yosh@src.gnome.org>2001-08-28 05:05:53 +0000
commit4710829798aaafd3120b799960a44436b32d2b72 (patch)
treedc42160f70d95f8d1be95f3e1583a734766c74f7 /gtk/gtkradiobutton.c
parent5d9166f15bb4ebd07ed2269079b4f367475bbde7 (diff)
downloadgtk+-4710829798aaafd3120b799960a44436b32d2b72.tar.gz
fix silly cut'n'paste error, with_label and with_mnemonic should create
Mon Aug 27 22:00:41 2001 Manish Singh <yosh@gimp.org> * gtk/gtkradiobutton.c: fix silly cut'n'paste error, with_label and with_mnemonic should create radio buttons, not check buttons
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r--gtk/gtkradiobutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 070c1adeb5..8d9ed1e487 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -217,7 +217,7 @@ gtk_radio_button_new_with_label (GSList *group,
{
GtkWidget *radio_button;
- radio_button = g_object_new (GTK_TYPE_CHECK_BUTTON, "label", label, NULL) ;
+ radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, NULL) ;
if (group)
gtk_radio_button_set_group (radio_button, group);
@@ -243,7 +243,7 @@ gtk_radio_button_new_with_mnemonic (GSList *group,
{
GtkWidget *radio_button;
- radio_button = g_object_new (GTK_TYPE_CHECK_BUTTON, "label", label, "use_underline", TRUE, NULL);
+ radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, "use_underline", TRUE, NULL);
if (group)
gtk_radio_button_set_group (radio_button, group);