From 03d626856b294bc98919ac244e04e9b8821a681d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 9 Jul 2010 14:29:51 +0200 Subject: Bug #623204 - Be able to report detailed errors from backends --- addressbook/printing/e-contact-print.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'addressbook/printing') diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 7eb955bba7..37b2837b5c 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -397,8 +397,7 @@ contacts_added (EBookView *book_view, const GList *contact_list, } static void -sequence_complete (EBookView *book_view, const GList *contact_list, - EFlag *book_view_started) +view_complete (EBookView *book_view, EBookViewStatus status, const gchar *error_msg, EFlag *book_view_started) { e_flag_set (book_view_started); } @@ -596,8 +595,8 @@ load_contacts (EContactPrintContext *ctxt) book_view, "contacts_added", G_CALLBACK (contacts_added), ctxt); g_signal_connect ( - book_view, "sequence_complete", - G_CALLBACK (sequence_complete), book_view_started); + book_view, "view_complete", + G_CALLBACK (view_complete), book_view_started); e_book_view_start (book_view); @@ -609,7 +608,7 @@ load_contacts (EContactPrintContext *ctxt) g_signal_handlers_disconnect_by_func ( book_view, G_CALLBACK (contacts_added), ctxt); g_signal_handlers_disconnect_by_func ( - book_view, G_CALLBACK (sequence_complete), book_view_started); + book_view, G_CALLBACK (view_complete), book_view_started); } static void -- cgit v1.2.3