aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/em-utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index da0e3e2a57..0a55ea842d 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -302,7 +302,9 @@ em_utils_edit_filters (GtkWidget *parent)
filter_editor = (GtkWidget *) em_filter_editor_new (fc, em_filter_source_element_names);
if (parent != NULL)
- e_dialog_set_transient_for ((GtkWindow *) filter_editor, parent);
+ gtk_window_set_transient_for (
+ GTK_WINDOW (filter_editor),
+ GTK_WINDOW (parent));
gtk_window_set_title (GTK_WINDOW (filter_editor), _("Message Filters"));
g_object_set_data_full ((GObject *) filter_editor, "context", fc, (GDestroyNotify) g_object_unref);