aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-10-24 23:00:11 +0800
committerDan Winship <danw@src.gnome.org>2003-10-24 23:00:11 +0800
commit56d094b8c063fa7edf5a91f8ca14afec59bdb12c (patch)
tree6e43299f718911f28b64bb7f09ba3d7cbcdb5851 /calendar/conduits
parent53f60e8802c75c9272cccc46f316f1fd47ef44b0 (diff)
downloadgsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar.gz
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar.bz2
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar.lz
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar.xz
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.tar.zst
gsoc2013-evolution-56d094b8c063fa7edf5a91f8ca14afec59bdb12c.zip
Remove type arg
* cal-client/cal-client.c (cal_client_get_changes): Remove type arg * conduits/calendar/calendar-conduit.c (pre_sync, post_sync): Update for that * conduits/todo/todo-conduit.c (pre_sync, post_sync): Likewise * idl/evolution-calendar.idl (getChanges): Remove type arg. * pcs/cal.c (impl_Cal_getChanges): Likewise * pcs/cal-backend.c (cal_backend_get_changes): Likewise * pcs/cal-backend-sync.c (cal_backend_sync_get_changes): Likewise * pcs/cal-backend-file.c (cal_backend_file_get_changes): Update for that svn path=/trunk/; revision=23059
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c4
-rw-r--r--calendar/conduits/todo/todo-conduit.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index 05ddde2c7f..7a30262e6c 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -1392,7 +1392,7 @@ pre_sync (GnomePilotConduit *conduit,
/* Find the added, modified and deleted items */
change_id = g_strdup_printf ("pilot-sync-evolution-calendar-%d", ctxt->cfg->pilot_id);
- if (!cal_client_get_changes (ctxt->client, CALOBJ_TYPE_EVENT, change_id, &ctxt->changed, NULL))
+ if (!cal_client_get_changes (ctxt->client, change_id, &ctxt->changed, NULL))
return -1;
ctxt->changed_hash = g_hash_table_new (g_str_hash, g_str_equal);
g_free (change_id);
@@ -1501,7 +1501,7 @@ post_sync (GnomePilotConduit *conduit,
* a race condition if anyone changes a record elsewhere during sycnc
*/
change_id = g_strdup_printf ("pilot-sync-evolution-calendar-%d", ctxt->cfg->pilot_id);
- if (cal_client_get_changes (ctxt->client, CALOBJ_TYPE_EVENT, change_id, &changed, NULL))
+ if (cal_client_get_changes (ctxt->client, change_id, &changed, NULL))
cal_client_change_list_free (changed);
g_free (change_id);
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 35251f4eb6..df69cdd088 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -930,7 +930,7 @@ pre_sync (GnomePilotConduit *conduit,
/* Count and hash the changes */
change_id = g_strdup_printf ("pilot-sync-evolution-todo-%d", ctxt->cfg->pilot_id);
- if (!cal_client_get_changes (ctxt->client, CALOBJ_TYPE_TODO, change_id, &ctxt->changed, NULL))
+ if (!cal_client_get_changes (ctxt->client, change_id, &ctxt->changed, NULL))
return -1;
ctxt->changed_hash = g_hash_table_new (g_str_hash, g_str_equal);
g_free (change_id);
@@ -1011,7 +1011,7 @@ post_sync (GnomePilotConduit *conduit,
* a race condition if anyone changes a record elsewhere during sycnc
*/
change_id = g_strdup_printf ("pilot-sync-evolution-todo-%d", ctxt->cfg->pilot_id);
- if (cal_client_get_changes (ctxt->client, CALOBJ_TYPE_TODO, change_id, &changed, NULL))
+ if (cal_client_get_changes (ctxt->client, change_id, &changed, NULL))
cal_client_change_list_free (changed);
g_free (change_id);