diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b8c6ed2daa..39429e9e53 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com> + + * printing/e-contact-print.c (e_contact_print_response): do not + try to unref when query is NULL + 2004 -01-20 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (edit_im_clicked) : do not call diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 19e7f6b36f..8966504f28 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -988,7 +988,10 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data) e_free_object_list (contact_list); else g_object_unref(contact); - e_book_query_unref (query); + + if (query) + e_book_query_unref (query); + gtk_widget_destroy (dialog); g_free(style); g_free(ctxt); |