diff options
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r-- | mail/em-vfolder-rule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c index 4932470609..6d7d978c06 100644 --- a/mail/em-vfolder-rule.c +++ b/mail/em-vfolder-rule.c @@ -511,7 +511,7 @@ source_add(GtkWidget *widget, struct _source_data *data) gpointer parent; parent = gtk_widget_get_toplevel (widget); - parent = GTK_WIDGET_TOPLEVEL (parent) ? parent : NULL; + parent = gtk_widget_is_toplevel (parent) ? parent : NULL; emft =(EMFolderTree *) em_folder_tree_new (); emu_restore_folder_tree_state (emft); |