aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-list-editor')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c4
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index dff1b3da83..7eb07007da 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -24,7 +24,7 @@
#include "e-contact-list-editor.h"
#include <e-util/e-util-private.h>
-#include <e-util/e-error.h>
+#include <e-util/e-alert.h>
#include "shell/e-shell.h"
#include <string.h>
@@ -262,7 +262,7 @@ contact_list_editor_contact_exists (EContactListModel *model,
if (!e_contact_list_model_has_email (model, email))
return FALSE;
- return (e_error_run_dialog_for_args (e_shell_get_active_window (NULL),
+ return (e_alert_run_dialog_for_args (e_shell_get_active_window (NULL),
tag, email, NULL) != GTK_RESPONSE_YES);
}
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.c b/addressbook/gui/contact-list-editor/e-contact-list-model.c
index 87fd8e8fec..5359d8d607 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.c
@@ -23,7 +23,7 @@
#include <string.h>
#include "e-contact-list-model.h"
-#include "e-util/e-error.h"
+#include "e-util/e-alert.h"
#include "shell/e-shell.h"
static gpointer parent_class;
@@ -153,7 +153,7 @@ e_contact_list_model_add_email (EContactListModel *model,
g_return_if_fail (email != NULL);
if (e_contact_list_model_has_email (model, email))
- if (e_error_run_dialog_for_args (e_shell_get_active_window
+ if (e_alert_run_dialog_for_args (e_shell_get_active_window
(NULL), tag, email, NULL) != GTK_RESPONSE_YES)
return;