From 945e2083e32cd1133f67de7921af2116d43bac27 Mon Sep 17 00:00:00 2001 From: Mohammed Sadiq Date: Wed, 13 Jan 2021 20:25:45 +0530 Subject: [PATCH] application: Remove unused code constructed() was simply creating an action group which is never used. --- src/calls-application.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/calls-application.c b/src/calls-application.c index b6ba3b8..e843507 100644 --- a/src/calls-application.c +++ b/src/calls-application.c @@ -464,21 +464,6 @@ app_open (GApplication *application, } -static void -constructed (GObject *object) -{ - CallsApplication *self = CALLS_APPLICATION (object); - GSimpleActionGroup *action_group; - - action_group = g_simple_action_group_new (); - g_action_map_add_action_entries (G_ACTION_MAP (action_group), - actions, G_N_ELEMENTS (actions), self); - g_object_unref (action_group); - - G_OBJECT_CLASS (calls_application_parent_class)->constructed (object); -} - - static void finalize (GObject *object) { @@ -501,7 +486,6 @@ calls_application_class_init (CallsApplicationClass *klass) GApplicationClass *application_class = G_APPLICATION_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->constructed = constructed; object_class->finalize = finalize; application_class->handle_local_options = handle_local_options;