summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-radio-button-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-extensions/nautilus-radio-button-group.c')
-rw-r--r--libnautilus-extensions/nautilus-radio-button-group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-radio-button-group.c b/libnautilus-extensions/nautilus-radio-button-group.c
index 25b46f1bc..71db70521 100644
--- a/libnautilus-extensions/nautilus-radio-button-group.c
+++ b/libnautilus-extensions/nautilus-radio-button-group.c
@@ -201,7 +201,8 @@ nautilus_radio_button_group_new (gboolean is_horizontal)
{
NautilusRadioButtonGroup *button_group;
- button_group = gtk_type_new (nautilus_radio_button_group_get_type ());
+ button_group = NAUTILUS_RADIO_BUTTON_GROUP
+ (gtk_widget_new (nautilus_radio_button_group_get_type (), NULL));
button_group->details->horizontal = is_horizontal;
return GTK_WIDGET (button_group);