1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-10 05:45: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 81370a9a1e
commit f9d238f988

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