aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-card-cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-card-cursor.c b/addressbook/backend/pas/pas-card-cursor.c
index 7def4b436e..c2bbe1c9b0 100644
--- a/addressbook/backend/pas/pas-card-cursor.c
+++ b/addressbook/backend/pas/pas-card-cursor.c
@@ -215,7 +215,7 @@ pas_card_cursor_new (PASCardCursorLengthFunc get_length,
corba_cursor = create_cursor (BONOBO_OBJECT (cursor));
if (corba_cursor == CORBA_OBJECT_NIL){
- gtk_object_destroy (GTK_OBJECT (cursor));
+ gtk_object_unref (GTK_OBJECT (cursor));
return NULL;
}