summaryrefslogtreecommitdiff
path: root/gtk/gtkradioaction.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-07-16 18:34:46 +0200
committerJavier Jardón <jjardon@gnome.org>2010-07-19 15:16:03 +0200
commit1bfa931e2033e81d226483394a90cbbbe33a92b1 (patch)
tree44fa332ca3b2f526ca8f4b72b9a991847a3ac152 /gtk/gtkradioaction.c
parent4682d563cff99cc92734bfd9bda53eb8e6041ddf (diff)
downloadgtk+-1bfa931e2033e81d226483394a90cbbbe33a92b1.tar.gz
Add _gtk_toggle_action_set_active() internal function
It's needed in gtkradioaction Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540
Diffstat (limited to 'gtk/gtkradioaction.c')
-rw-r--r--gtk/gtkradioaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkradioaction.c b/gtk/gtkradioaction.c
index 96f1163205..47cb3f4c5c 100644
--- a/gtk/gtkradioaction.c
+++ b/gtk/gtkradioaction.c
@@ -338,7 +338,7 @@ gtk_radio_action_activate (GtkAction *action)
if (gtk_toggle_action_get_active (tmp_action) &&
(tmp_action != toggle_action))
{
- gtk_toggle_action_set_active (toggle_action, !active);
+ _gtk_toggle_action_set_active (toggle_action, !active);
break;
}
@@ -347,7 +347,7 @@ gtk_radio_action_activate (GtkAction *action)
}
else
{
- gtk_toggle_action_set_active (toggle_action, !active);
+ _gtk_toggle_action_set_active (toggle_action, !active);
g_object_notify (G_OBJECT (action), "active");
tmp_list = radio_action->private_data->group;