diff options
author | Milan Crha <mcrha@redhat.com> | 2010-07-09 20:29:51 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-07-09 20:29:51 +0800 |
commit | 03d626856b294bc98919ac244e04e9b8821a681d (patch) | |
tree | 62433e158f1791aa6b9222ecbe05d164c4703f6c /modules/calendar/e-cal-attachment-handler.c | |
parent | 6d4ce8571ff62a3e489999d2feeac1691e06c59a (diff) | |
download | gsoc2013-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 'modules/calendar/e-cal-attachment-handler.c')
-rw-r--r-- | modules/calendar/e-cal-attachment-handler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c index ce811bf79f..9025bc713f 100644 --- a/modules/calendar/e-cal-attachment-handler.c +++ b/modules/calendar/e-cal-attachment-handler.c @@ -138,7 +138,7 @@ attachment_handler_update_objects (ECal *client, static void attachment_handler_import_event (ECal *client, - ECalendarStatus status, + const GError *error, EAttachment *attachment) { icalcomponent *component; @@ -146,7 +146,7 @@ attachment_handler_import_event (ECal *client, icalcompiter iter; /* FIXME Notify the user somehow. */ - g_return_if_fail (status == E_CALENDAR_STATUS_OK); + g_return_if_fail (error == NULL); component = attachment_handler_get_component (attachment); g_return_if_fail (component != NULL); @@ -178,7 +178,7 @@ attachment_handler_import_event (ECal *client, static void attachment_handler_import_todo (ECal *client, - ECalendarStatus status, + const GError *error, EAttachment *attachment) { icalcomponent *component; @@ -186,7 +186,7 @@ attachment_handler_import_todo (ECal *client, icalcompiter iter; /* FIXME Notify the user somehow. */ - g_return_if_fail (status == E_CALENDAR_STATUS_OK); + g_return_if_fail (error == NULL); component = attachment_handler_get_component (attachment); g_return_if_fail (component != NULL); @@ -310,7 +310,7 @@ attachment_handler_run_dialog (GtkWindow *parent, goto exit; g_object_ref (attachment); - g_signal_connect (client, "cal-opened", callback, attachment); + g_signal_connect (client, "cal-opened-ex", callback, attachment); e_cal_open_async (client, FALSE); exit: |