aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/backup-restore/backup-restore.c
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-08 00:19:37 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-08 02:25:23 +0800
commit31204c9cc21ec32c8006124cf18763161daa99d2 (patch)
tree7e2173da211f3e844172ea0dbdfb0e87638d8e85 /plugins/backup-restore/backup-restore.c
parentf20528381a13299e8d160195d4b731e10b7ed437 (diff)
downloadgsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.gz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.bz2
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.lz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.xz
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.tar.zst
gsoc2013-evolution-31204c9cc21ec32c8006124cf18763161daa99d2.zip
Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
Diffstat (limited to 'plugins/backup-restore/backup-restore.c')
-rw-r--r--plugins/backup-restore/backup-restore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c
index 9f3413cbbe..bc7766e861 100644
--- a/plugins/backup-restore/backup-restore.c
+++ b/plugins/backup-restore/backup-restore.c
@@ -33,7 +33,7 @@
#include <glib/gstdio.h>
#include "mail/em-config.h"
#include "mail/em-account-editor.h"
-#include "e-util/e-alert.h"
+#include "e-util/e-alert-dialog.h"
#include "e-util/e-util.h"
#include "e-util/e-dialog-utils.h"
#include "shell/e-shell-utils.h"
@@ -104,11 +104,11 @@ dialog_prompt_user(GtkWindow *parent, const gchar *string, const gchar *tag, con
EAlert *alert = NULL;
va_start(ap, arg0);
- alert = e_alert_newv(tag, arg0, ap);
+ alert = e_alert_new_valist(tag, arg0, ap);
va_end(ap);
- mbox = e_alert_new_dialog (parent, alert);
- e_alert_free (alert);
+ mbox = e_alert_dialog_new (parent, alert);
+ g_object_unref (alert);
check = gtk_check_button_new_with_mnemonic (string);
/* We should hardcode this to true */