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:
Erick Pérez Castellanos
2014-12-22 08:38:19 -05:00
parent c28e345b5b
commit 9af65c8f1f
3 changed files with 103 additions and 32 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ typedef struct
GType gcal_manager_get_type (void);
GcalManager* gcal_manager_new (void);
GcalManager* gcal_manager_new_with_settings (GSettings *settings);
GList* gcal_manager_get_sources (GcalManager *manager);