aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-23 11:39:14 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-23 11:39:14 +0800
commita8b3463f5a424f5b90249a9da554525798d21aa3 (patch)
tree53f916205e5492080692ec408a43b68c50c7d3c3 /addressbook/backend/pas
parent1b84e993c0c4791bde30ea19ce35989375d257ed (diff)
downloadgsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.gz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.bz2
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.lz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.xz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.zst
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.zip
Added the addressbook/backend directory.
2000-03-22 Christopher James Lahey <clahey@helixcode.com> * addressbook/Makefile.am, configure.in: Added the addressbook/backend directory. * addressbook/backend/Makefile.am: Removed the libversit directory as it's now included in the base evolution directory. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/Makefile.am: Changed the place where libversit is looked for. * addressbook/backend/ebook/e-book-listener.c: Fixed some indentation. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/e-card-types.h: Commented out some code to get this to compile. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Turned this into a GTK+ object. * addressbook/backend/pas/pas.c, addressbook/backend/ebook/test-client.c: Include gnome.h and gnorba.h. * addressbook/backend/idl/addressbook.idl: Include Bonobo.idl instead of bonobo-unknown.idl. * addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/contact-editor/test-editor.c, addressbook/contact-editor/e-contact-editor.c, addressbook/printing/e-contact-print.c, addressbook/printing/test-contact-print-style-editor.c, addressbook/printing/test-print.c: Killed some warnings. svn path=/trunk/; revision=2150
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c4
-rw-r--r--addressbook/backend/pas/pas-book.c1
-rw-r--r--addressbook/backend/pas/pas.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index f23b607efe..ad5679c7e1 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -122,7 +122,7 @@ pas_backend_file_load_uri (PASBackend *backend,
PASBackendFile *bf = PAS_BACKEND_FILE (backend);
char *filename;
- g_assert (PAS_BACKEND_FILE (backend)->priv->loaded == FALSE);
+ g_assert (bf->priv->loaded == FALSE);
filename = pas_backend_file_extract_path_from_uri (uri);
}
@@ -210,8 +210,6 @@ pas_backend_file_new (void)
static void
pas_backend_file_destroy (GtkObject *object)
{
- PASBackendFile *backend = PAS_BACKEND_FILE (object);
-
GTK_OBJECT_CLASS (pas_backend_file_parent_class)->destroy (object);
}
diff --git a/addressbook/backend/pas/pas-book.c b/addressbook/backend/pas/pas-book.c
index 5428b4ae7c..907ff6482a 100644
--- a/addressbook/backend/pas/pas-book.c
+++ b/addressbook/backend/pas/pas-book.c
@@ -455,7 +455,6 @@ pas_book_new (PASBackend *backend,
PASBookGetVCardFn get_vcard)
{
PASBook *book;
- PASBook *retval;
g_return_val_if_fail (listener != CORBA_OBJECT_NIL, NULL);
g_return_val_if_fail (get_vcard != NULL, NULL);
diff --git a/addressbook/backend/pas/pas.c b/addressbook/backend/pas/pas.c
index f625eb6c2e..a892d98a5b 100644
--- a/addressbook/backend/pas/pas.c
+++ b/addressbook/backend/pas/pas.c
@@ -6,6 +6,7 @@
*/
#include <config.h>
#include <bonobo.h>
+#include <libgnorba/gnorba.h>
#include <pas-book-factory.h>
#include <pas-backend-file.h>