aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
authorVadim Strizhevsky <vadim@src.gnome.org>2000-01-08 12:44:57 +0800
committerVadim Strizhevsky <vadim@src.gnome.org>2000-01-08 12:44:57 +0800
commit25606cbf7d12360f4a8bca7a4631ce7613894597 (patch)
tree03d7804ec6bc887f57323966ffa4a7e1fb5aeb3f /calendar/conduits
parenta6641907511b97f807d54f849909dd2cc2ab27bb (diff)
downloadgsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar.gz
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar.bz2
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar.lz
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar.xz
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.tar.zst
gsoc2013-evolution-25606cbf7d12360f4a8bca7a4631ce7613894597.zip
Update to use gpilotd_get_pilot_basedir and gnome_pilot_conduit_standard_abs_set_db_open_mode. Added pilotID argument to gpilotd_conduit_mgmt_new.
svn path=/trunk/; revision=1544
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit-control-applet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit-control-applet.c b/calendar/conduits/calendar/calendar-conduit-control-applet.c
index ae4bda428f..2d6fb60ef5 100644
--- a/calendar/conduits/calendar/calendar-conduit-control-applet.c
+++ b/calendar/conduits/calendar/calendar-conduit-control-applet.c
@@ -326,9 +326,6 @@ main( int argc, char *argv[] )
NULL,
0, NULL);
- /* put all code to set things up in here */
- conduit = gpilotd_conduit_mgmt_new("calendar_conduit");
-
/* get pilot name from gpilotd */
/* 1. initialize the gpilotd connection */
if (gpilotd_init(&argc,argv)!=0) {
@@ -348,6 +345,7 @@ main( int argc, char *argv[] )
if(!pilotId) return -1;
/* put all code to set things up in here */
+ conduit = gpilotd_conduit_mgmt_new("calendar_conduit",pilotId);
gcalconduit_load_configuration(&origState,pilotId);
gpilotd_conduit_mgmt_get_sync_type(conduit,pilotId,&origState->sync_type);