aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index e3e9613e2e..7951240de0 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -827,7 +827,7 @@ emae_signature_new (GtkWidget *widget, EMAccountEditor *emae)
shell_settings = e_shell_get_shell_settings (shell);
parent = gtk_widget_get_toplevel (widget);
- parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL;
+ parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
html_mode = e_shell_settings_get_boolean (
shell_settings, "composer-format-html");