mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 15:47:35 +00:00
application: Remove unused code
constructed() was simply creating an action group which is never used.
This commit is contained in:
parent
7c13d3f179
commit
945e2083e3
1 changed files with 0 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue