From 4ff90f2bfd95337040616cae4b3bdddff033b5d6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 1 Mar 2013 14:30:14 -0500 Subject: Use EClientComboBox where appropriate. Basically any place where we use both EClient and ESourceComboBox. --- calendar/gui/dialogs/e-delegate-dialog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gui/dialogs/e-delegate-dialog.c') diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c index 9c5e17f59e..366d978e0e 100644 --- a/calendar/gui/dialogs/e-delegate-dialog.c +++ b/calendar/gui/dialogs/e-delegate-dialog.c @@ -101,7 +101,7 @@ e_delegate_dialog_init (EDelegateDialog *edd) EDelegateDialog * e_delegate_dialog_construct (EDelegateDialog *edd, - ESourceRegistry *registry, + EClientCache *client_cache, const gchar *name, const gchar *address) { @@ -112,7 +112,7 @@ e_delegate_dialog_construct (EDelegateDialog *edd, ENameSelectorDialog *name_selector_dialog; g_return_val_if_fail (E_IS_DELEGATE_DIALOG (edd), NULL); - g_return_val_if_fail (E_IS_SOURCE_REGISTRY (registry), NULL); + g_return_val_if_fail (E_IS_CLIENT_CACHE (client_cache), NULL); priv = edd->priv; @@ -126,7 +126,7 @@ e_delegate_dialog_construct (EDelegateDialog *edd, goto error; } - priv->name_selector = e_name_selector_new (registry); + priv->name_selector = e_name_selector_new (client_cache); e_name_selector_load_books (priv->name_selector); name_selector_model = e_name_selector_peek_model (priv->name_selector); e_name_selector_model_add_section (name_selector_model, section_name, section_name, NULL); @@ -214,18 +214,18 @@ addressbook_response_cb (GtkWidget *widget, * editor could not be created. **/ EDelegateDialog * -e_delegate_dialog_new (ESourceRegistry *registry, +e_delegate_dialog_new (EClientCache *client_cache, const gchar *name, const gchar *address) { EDelegateDialog *edd; - g_return_val_if_fail (E_IS_SOURCE_REGISTRY (registry), NULL); + g_return_val_if_fail (E_IS_CLIENT_CACHE (client_cache), NULL); edd = g_object_new (E_TYPE_DELEGATE_DIALOG, NULL); return e_delegate_dialog_construct ( - E_DELEGATE_DIALOG (edd), registry, name, address); + E_DELEGATE_DIALOG (edd), client_cache, name, address); } gchar * -- cgit v1.2.3