window: use a GcalEvent to delete events
Instead of using the GcalEventData struct, use the deleted event. It holds a reference until the event gets destroyed. With this commit, we can safely drop GcalEventData structure, since it's not used anymore.
This commit is contained in:
@@ -32,12 +32,6 @@ G_BEGIN_DECLS
|
||||
|
||||
G_DECLARE_FINAL_TYPE (GcalManager, gcal_manager, GCAL, MANAGER, GObject)
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ESource *source;
|
||||
ECalComponent *event_component;
|
||||
} GcalEventData;
|
||||
|
||||
GcalManager* gcal_manager_new_with_settings (GSettings *settings);
|
||||
|
||||
ESource* gcal_manager_get_source (GcalManager *manager,
|
||||
|
||||
Reference in New Issue
Block a user