aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-08-13 09:06:15 +0800
committerDan Winship <danw@src.gnome.org>2002-08-13 09:06:15 +0800
commit67d091d07ef507f2eee7b6a6ac8c81e359cf5a71 (patch)
treeed9959261d2429282da6c9d45b3ee45c75e65d0f /tools
parent1c52eea0988c732c98fef5963a83eeb50a9c1b77 (diff)
downloadgsoc2013-evolution-67d091d07ef507f2eee7b6a6ac8c81e359cf5a71.tar.gz
gsoc2013-evolution-67d091d07ef507f2eee7b6a6ac8c81e359cf5a71.tar.zst
gsoc2013-evolution-67d091d07ef507f2eee7b6a6ac8c81e359cf5a71.zip
Use default book, not local one.
* tools/evolution-addressbook-import.c (main): Use default book, not local one. * tools/evolution-addressbook-export.c (main): Likewise. * tools/evolution-addressbook-abuse.c (abuse_timeout): Likewise. svn path=/trunk/; revision=17766
Diffstat (limited to 'tools')
-rw-r--r--tools/evolution-addressbook-abuse.c2
-rw-r--r--tools/evolution-addressbook-export.c2
-rw-r--r--tools/evolution-addressbook-import.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/evolution-addressbook-abuse.c b/tools/evolution-addressbook-abuse.c
index 44de75d780..4ba7bfc5ee 100644
--- a/tools/evolution-addressbook-abuse.c
+++ b/tools/evolution-addressbook-abuse.c
@@ -95,7 +95,7 @@ static gint
abuse_timeout (gpointer foo)
{
EBook *book = e_book_new ();
- e_book_load_local_address_book (book, use_addressbook, NULL);
+ e_book_load_default_book (book, use_addressbook, NULL);
++call_count;
g_message ("timeout!");
diff --git a/tools/evolution-addressbook-export.c b/tools/evolution-addressbook-export.c
index cfc0237a02..e21053b300 100644
--- a/tools/evolution-addressbook-export.c
+++ b/tools/evolution-addressbook-export.c
@@ -59,7 +59,7 @@ main (int argc, char *argv[])
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
g_error (_("Could not initialize Bonobo"));
- e_book_use_local_address_book (use_addressbook, filename);
+ e_book_use_default_book (use_addressbook, filename);
bonobo_main ();
diff --git a/tools/evolution-addressbook-import.c b/tools/evolution-addressbook-import.c
index 9d79ccae0d..60180fb883 100644
--- a/tools/evolution-addressbook-import.c
+++ b/tools/evolution-addressbook-import.c
@@ -85,7 +85,7 @@ main (int argc, char *argv[])
if (bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL) == FALSE)
g_error (_("Could not initialize Bonobo"));
- e_book_use_local_address_book (use_addressbook, filename);
+ e_book_use_default_book (use_addressbook, filename);
bonobo_main ();
a7282ec7ab5c0d759cde5a4da5f2c2dbb52'>De-pkg-comment.nobutaka2003-02-222-1/+1 * Update to 2.22.nobutaka2003-01-043-2/+10 * Update to 2.21.nobutaka2002-07-073-5/+9 * Update to 2.2.nobutaka2002-05-165-10/+19 * Bump PORTEPOCH since I've updated this port from 2.04 to 2.1.nobutaka2002-03-031-1/+1 * Update to 2.1.nobutaka2002-03-012-2/+2 * Update to 2.04.nobutaka2002-02-112-2/+2 * Maintainer is committer now.nobutaka2001-11-041-1/+1 * update to 2.03.sf2001-07-173-2/+18 * update to 2.02.sf2001-06-202-2/+2 * update to 2.01.sf2001-06-193-14/+2 * Sync description with recent update.(Adding 14 dot font)takawata2001-06-182-2/+2 * o update monafonts to 2.0.sf2001-06-186-74/+101 * change $(GZIP) -> $(GZIP_CMD) to prevent brokenness with environmentsf2001-05-101-3/+13 * Update japanese/monafonts port to 20010323jeh2001-03-314-9/+12