aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c4
1 files changed, 1 insertions, 3 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);
}