diff options
Diffstat (limited to 'filter/e-rule-editor.c')
-rw-r--r-- | filter/e-rule-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c index c6170f09e8..3cb148e5aa 100644 --- a/filter/e-rule-editor.c +++ b/filter/e-rule-editor.c @@ -31,7 +31,7 @@ #include <glib/gi18n.h> -#include "e-util/e-alert.h" +#include "e-util/e-alert-dialog.h" #include "e-util/e-util-private.h" #include "e-util/e-util.h" @@ -146,7 +146,7 @@ add_editor_response (GtkWidget *dialog, gint button, ERuleEditor *editor) EAlert *alert = NULL; if (!e_filter_rule_validate (editor->edit, &alert)) { e_alert_run_dialog (GTK_WINDOW (dialog), alert); - e_alert_free (alert); + g_object_unref (alert); return; } @@ -294,7 +294,7 @@ edit_editor_response (GtkWidget *dialog, gint button, ERuleEditor *editor) EAlert *alert = NULL; if (!e_filter_rule_validate (editor->edit, &alert)) { e_alert_run_dialog (GTK_WINDOW (dialog), alert); - e_alert_free (alert); + g_object_unref (alert); return; } |