1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-28 06:39:32 +00:00

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.
This commit is contained in:
Evangelos Ribeiro Tzaras 2023-03-16 10:02:52 +01:00
parent d690fe5f68
commit f485215a9f

View file

@ -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),