aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-10-29 07:44:13 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-10-29 07:44:13 +0000
commita306a2ef22991d5d12acc08288a63abb94dedbb0 (patch)
tree6914e64b9bef73b9c7450e6fa3880e331b7e9a3a
parent1799ba1a36801a0bc163839bfd9f3c410561d65a (diff)
src/update_check.c: fixed freeze bug on showing dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2323 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog4
-rw-r--r--src/update_check.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 97faecf1..f4df8351 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-10-29
+ * src/update_check.c: fixed freeze bug on showing dialog.
+
+2009-10-29
+
* version 3.0.0beta1
2009-10-29
diff --git a/src/update_check.c b/src/update_check.c
index 78247151..94cb141d 100644
--- a/src/update_check.c
+++ b/src/update_check.c
@@ -209,6 +209,8 @@ static void update_check_cb(GPid pid, gint status, gpointer data)
g_strfreev(lines);
+ gdk_threads_enter();
+
if (result)
update_dialog(new_ver, show_dialog_always);
else if (show_dialog_always) {
@@ -220,6 +222,8 @@ static void update_check_cb(GPid pid, gint status, gpointer data)
alertpanel_error(_("Couldn't get the version information."));
}
g_free(new_ver);
+
+ gdk_threads_leave();
}
void update_check(gboolean show_dialog_always)