forked from AuroraMiddleware/gtk
Forgot to actually commit this file
This commit is contained in:
parent
ce00fa8982
commit
9542740711
@ -425,7 +425,6 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
|
|||||||
guint i;
|
guint i;
|
||||||
GtkTranslateFunc translate_func;
|
GtkTranslateFunc translate_func;
|
||||||
gpointer translate_data;
|
gpointer translate_data;
|
||||||
GtkRadioAction *radio_action;
|
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_ACTION_GROUP (action_group));
|
g_return_if_fail (GTK_IS_ACTION_GROUP (action_group));
|
||||||
|
|
||||||
@ -460,16 +459,14 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
|
|||||||
|
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
radio_action = GTK_RADIO_ACTION (action);
|
|
||||||
|
|
||||||
if (on_change)
|
if (on_change)
|
||||||
g_signal_connect_data (radio_action, "changed",
|
g_signal_connect_data (action, "changed",
|
||||||
on_change, user_data,
|
on_change, user_data,
|
||||||
(GClosureNotify)destroy, 0);
|
(GClosureNotify)destroy, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GSList *group = gtk_radio_action_get_group (radio_action);
|
GSList *group = gtk_radio_action_get_group (GTK_RADIO_ACTION (action));
|
||||||
gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
|
gtk_radio_action_set_group (GTK_RADIO_ACTION (action), group);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user