manager: pass ECalObjModType to update and remove
Currently, GcalManager always assumes E_CAL_OBJ_MOD_THIS when modifying or deleting events. Since we're landing the groundwork for recurrence management, we can't assume this anymore. This patch, then, allows GcalManager:modify_event() and :remove_event() receive the ECalObjModType instead of assuming E_CAL_OBJ_MOD_THIS. However, this commit does not add recurrence support yet, and every call to these functions are still passing E_CAL_OBJ_MOD_THIS. https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
a53581ed53
commit
9ffa913ad4
+4
-2
@@ -75,10 +75,12 @@ void gcal_manager_create_event (GcalManager
|
||||
GcalEvent *event);
|
||||
|
||||
void gcal_manager_update_event (GcalManager *manager,
|
||||
GcalEvent *event);
|
||||
GcalEvent *event,
|
||||
ECalObjModType mod);
|
||||
|
||||
void gcal_manager_remove_event (GcalManager *manager,
|
||||
GcalEvent *event);
|
||||
GcalEvent *event,
|
||||
ECalObjModType mod);
|
||||
|
||||
void gcal_manager_move_event_to_source (GcalManager *manager,
|
||||
GcalEvent *event,
|
||||
|
||||
Reference in New Issue
Block a user