aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-07-09 20:29:51 +0800
committerMilan Crha <mcrha@redhat.com>2010-07-09 20:29:51 +0800
commit03d626856b294bc98919ac244e04e9b8821a681d (patch)
tree62433e158f1791aa6b9222ecbe05d164c4703f6c /addressbook/printing
parent6d4ce8571ff62a3e489999d2feeac1691e06c59a (diff)
downloadgsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar.gz
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar.bz2
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar.lz
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar.xz
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.tar.zst
gsoc2013-evolution-03d626856b294bc98919ac244e04e9b8821a681d.zip
Bug #623204 - Be able to report detailed errors from backends
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print.c9
1 files changed, 4 insertions, 5 deletions
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