diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/app-section.c | 4 | ||||
-rw-r--r-- | src/im-application-list.c | 4 |
2 files changed, 4 insertions, 4 deletions
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); } diff --git a/src/im-application-list.c b/src/im-application-list.c index 755168a..d69609d 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -272,7 +272,7 @@ static void im_application_list_source_removed (Application *app, const gchar *id) { - g_simple_action_group_remove (app->source_actions, id); + g_action_map_remove_action (G_ACTION_MAP(app->source_actions), id); g_signal_emit (app->list, signals[SOURCE_REMOVED], 0, app->id, id); @@ -317,7 +317,7 @@ static void im_application_list_message_removed (Application *app, const gchar *id) { - g_simple_action_group_remove (app->message_actions, id); + g_action_map_remove_action (G_ACTION_MAP(app->message_actions), id); g_action_muxer_remove (app->message_sub_actions, id); im_application_list_update_draws_attention (app->list); |