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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user