Commit cea413ca authored by Matthias Clasen's avatar Matthias Clasen

Set draw-as-radio to TRUE

svn path=/trunk/; revision=22217
parent 508d28ed
2009-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkradioaction.c: Set draw-as-radio to TRUE.
2009-01-24 Matthias Clasen <mclasen@redhat.com>
Revert changes for bug 567124. Instead of trying to avoid
......
......@@ -176,6 +176,8 @@ gtk_radio_action_init (GtkRadioAction *action)
action->private_data = GTK_RADIO_ACTION_GET_PRIVATE (action);
action->private_data->group = g_slist_prepend (NULL, action);
action->private_data->value = 0;
gtk_toggle_action_set_draw_as_radio (GTK_TOGGLE_ACTION (action), TRUE);
}
/**
......@@ -206,12 +208,12 @@ gtk_radio_action_new (const gchar *name,
g_return_val_if_fail (name != NULL, NULL);
return g_object_new (GTK_TYPE_RADIO_ACTION,
"name", name,
"label", label,
"tooltip", tooltip,
"stock-id", stock_id,
"value", value,
NULL);
"name", name,
"label", label,
"tooltip", tooltip,
"stock-id", stock_id,
"value", value,
NULL);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment