main: Always initialize logging

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/858>
This commit is contained in:
Georges Basile Stavracas Neto
2026-10-02 13:58:05 +00:00
committed by Marge Bot
parent c4c5c81cdf
commit a3598c0c11
2 changed files with 3 additions and 4 deletions
-4
View File
@@ -507,10 +507,6 @@ static gint
gcal_application_handle_local_options (GApplication *app,
GVariantDict *options)
{
/* Initialize logging before anything else */
if (g_variant_dict_contains (options, "debug"))
gcal_log_init ();
if (show_version)
{
g_print ("gnome-calendar: Version %s\n", PACKAGE_VERSION);