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:
Georges Basile Stavracas Neto
2016-02-14 12:17:37 -02:00
parent 4676a21a58
commit c65fe989fe
3 changed files with 26 additions and 34 deletions
+1 -1
View File
@@ -1506,7 +1506,7 @@ gcal_manager_move_event_to_source (GcalManager *manager,
/**
* gcal_manager_get_events:
*
* Returns a list with {@link GcalEventData} objects owned by the caller, the list and the objects.
* Returns a list with {@link GcalEvent} objects owned by the caller, the list and the objects.
* The components inside the list are owned by the caller as well. So, don't ref the component.
*
* Returns: An {@link GList} object