[evolution-rss] fix potential crash UI in non-main-thread



commit 5735a2bf5d74090ca938f6c4fc906b939593804d
Author: Lucian Langa <lucilanga gnome org>
Date:   Mon Apr 7 00:20:13 2014 +0200

    fix potential crash UI in non-main-thread

 src/rss.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index 5ebf5e1..5211085 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -4124,9 +4124,7 @@ create_mail(create_feed *CF)
 #if EVOLUTION_VERSION < 30505
                mail_refresh_folder(mail_folder, NULL, NULL);
 #else
-               EShellContent *shell_content = e_shell_view_get_shell_content (rss_shell_view);
-               EMailReader *reader = E_MAIL_READER (shell_content);
-               e_mail_reader_refresh_folder(reader, mail_folder);
+               camel_folder_refresh_info_sync(mail_folder, NULL, NULL);
 #endif
        }
 #if (DATASERVER_VERSION >= 2031001)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]