diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-12-14 05:05:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 11:00:40 +0800 |
commit | 68c35c4bedc4cd36cf2396121921f2e781b631fb (patch) | |
tree | 3a705b4c5776881d1d3899de674fdacea2440133 /calendar/gui/dialogs/copy-source-dialog.c | |
parent | ebed1366e5d62a4fd0912abe2c725f31e8901444 (diff) | |
download | gsoc2013-evolution-68c35c4bedc4cd36cf2396121921f2e781b631fb.tar.gz gsoc2013-evolution-68c35c4bedc4cd36cf2396121921f2e781b631fb.tar.zst gsoc2013-evolution-68c35c4bedc4cd36cf2396121921f2e781b631fb.zip |
Adapt calendar/gui to the new ESource API.
Diffstat (limited to 'calendar/gui/dialogs/copy-source-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/copy-source-dialog.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c index cfc8521927..21b86087fb 100644 --- a/calendar/gui/dialogs/copy-source-dialog.c +++ b/calendar/gui/dialogs/copy-source-dialog.c @@ -198,7 +198,6 @@ orig_source_opened_cb (GObject *source_object, e_client_utils_open_new ( csdd->selected_source, csdd->obj_type, FALSE, NULL, - e_client_utils_authenticate_handler, csdd->parent, dest_source_opened_cb, csdd); } @@ -220,7 +219,6 @@ copy_source (const CopySourceDialogData *const_csdd) e_client_utils_open_new ( csdd->orig_source, csdd->obj_type, FALSE, NULL, - e_client_utils_authenticate_handler, csdd->parent, orig_source_opened_cb, csdd); } @@ -232,11 +230,13 @@ copy_source (const CopySourceDialogData *const_csdd) */ void copy_source_dialog (GtkWindow *parent, + ESourceRegistry *registry, ESource *source, ECalClientSourceType obj_type) { CopySourceDialogData csdd; + g_return_if_fail (E_IS_SOURCE_REGISTRY (registry)); g_return_if_fail (E_IS_SOURCE (source)); g_return_if_fail (obj_type == E_CAL_CLIENT_SOURCE_TYPE_EVENTS || obj_type == E_CAL_CLIENT_SOURCE_TYPE_TASKS || @@ -250,7 +250,8 @@ copy_source_dialog (GtkWindow *parent, obj_type == E_CAL_CLIENT_SOURCE_TYPE_MEMOS ? E_CLIENT_SOURCE_TYPE_MEMOS : E_CLIENT_SOURCE_TYPE_LAST; - csdd.selected_source = select_source_dialog (parent, obj_type, source); + csdd.selected_source = select_source_dialog ( + parent, registry, obj_type, source); if (csdd.selected_source) { copy_source (&csdd); |