From f9d238f988ec46a82dfa7f1775ccfc3fcb59e7f9 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 16 Mar 2023 10:02:52 +0100 Subject: [PATCH] application: Initialize objects before parsing options This helps making object life cycles clearer and with logging already set up we won't miss any early debugging messages. --- src/calls-application.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calls-application.c b/src/calls-application.c index 8b94959..88ceb35 100644 --- a/src/calls-application.c +++ b/src/calls-application.c @@ -527,6 +527,8 @@ calls_application_command_line (GApplication *application, level); } + start_proper (self); + providers = g_variant_dict_lookup_value (options, "provider", G_VARIANT_TYPE_STRING_ARRAY); if (providers) { g_action_group_activate_action (G_ACTION_GROUP (application),