From a8c93f9ae22d515c092bed0e4dca7873a78f2d88 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 21 Aug 2013 20:50:07 -0500 Subject: Change g_simple_action_group_remove() to g_action_map_remove_action() --- src/app-section.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app-section.c') diff --git a/src/app-section.c b/src/app-section.c index 6f955e7..a741172 100644 --- a/src/app-section.c +++ b/src/app-section.c @@ -384,7 +384,7 @@ g_simple_action_group_clear (GSimpleActionGroup *group) actions = g_action_group_list_actions (G_ACTION_GROUP (group)); for (it = actions; *it; it++) - g_simple_action_group_remove (group, *it); + g_action_map_remove_action (G_ACTION_MAP(group), *it); g_strfreev (actions); } @@ -659,7 +659,7 @@ remove_source (AppSection *self, } } - g_simple_action_group_remove (priv->source_actions, id); + g_action_map_remove_action (G_ACTION_MAP(priv->source_actions), id); update_draws_attention (self); } -- cgit v1.2.3