aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 20485e5..1f61864 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1236,9 +1236,9 @@ new_timezone_item(DbusmenuMenuitem * newitem,
mi_data->radio = gtk_radio_button_new(location_group);
if (location_group == NULL)
- location_group = gtk_radio_button_get_group(mi_data->radio);
+ location_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(mi_data->radio));
- gtk_toggle_button_set_active(mi_data->radio,
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mi_data->radio),
dbusmenu_menuitem_property_get_bool(newitem, TIMEZONE_MENUITEM_PROP_RADIO));
gtk_box_pack_start(GTK_BOX(hbox), mi_data->radio, FALSE, FALSE, 0);