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:
@@ -527,6 +527,8 @@ calls_application_command_line (GApplication *application,
|
|||||||
level);
|
level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_proper (self);
|
||||||
|
|
||||||
providers = g_variant_dict_lookup_value (options, "provider", G_VARIANT_TYPE_STRING_ARRAY);
|
providers = g_variant_dict_lookup_value (options, "provider", G_VARIANT_TYPE_STRING_ARRAY);
|
||||||
if (providers) {
|
if (providers) {
|
||||||
g_action_group_activate_action (G_ACTION_GROUP (application),
|
g_action_group_activate_action (G_ACTION_GROUP (application),
|
||||||
|
Reference in New Issue
Block a user