aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
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>