manager: hold a reference of the application's settings
We need to keep on the settings the list of the disabled sources Moved code from ::init vfunc to ::constructed vfunc in order to wait for construction properties to be set
This commit is contained in:
@@ -211,7 +211,7 @@ gcal_application_startup (GApplication *app)
|
||||
g_object_unref (priv->provider);
|
||||
}
|
||||
|
||||
priv->manager = gcal_manager_new ();
|
||||
priv->manager = gcal_manager_new_with_settings (priv->settings);
|
||||
|
||||
gcal_application_set_app_menu (app);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user