application: Activate on open

Otherwise, there might be no window available.
This commit is contained in:
Georges Basile Stavracas Neto
2021-08-16 19:48:09 -03:00
parent 7bf8d8851b
commit 7fd8babdda
+1
View File
@@ -621,6 +621,7 @@ gcal_application_open (GApplication *application,
self = GCAL_APPLICATION (application);
g_application_activate (G_APPLICATION (application));
gcal_window_import_files (GCAL_WINDOW (self->window), files, n_files);
GCAL_EXIT;