manager: add GcalContext property
This improves access to the GcalContext inside GcalManager. Also, remove test-manager since it only tests that gcal_manager_new() returns non-NULL.
This commit is contained in:
@@ -30,7 +30,9 @@ G_BEGIN_DECLS
|
||||
#define GCAL_TYPE_MANAGER (gcal_manager_get_type ())
|
||||
G_DECLARE_FINAL_TYPE (GcalManager, gcal_manager, GCAL, MANAGER, GObject)
|
||||
|
||||
GcalManager* gcal_manager_new (void);
|
||||
typedef struct _GcalContext GcalContext;
|
||||
|
||||
GcalManager* gcal_manager_new (GcalContext *context);
|
||||
|
||||
ESource* gcal_manager_get_source (GcalManager *self,
|
||||
const gchar *uid);
|
||||
|
||||
Reference in New Issue
Block a user