projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c5614
)
* src/modest-mail-operation.c:
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 6 Sep 2007 11:01:27 +0000
(11:01 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 6 Sep 2007 11:01:27 +0000
(11:01 +0000)
* (idle_create_msg_cb): do gdk_threads_leave to protect also
the unref's, as they can cause locks (fixes NB#65540).
pmo-trunk-r3225
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
136aab3
..
a21782e
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-591,12
+591,12
@@
idle_create_msg_cb (gpointer idle_data)
gdk_threads_enter (); /* CHECKED */
info->callback (info->mail_op, info->msg, info->userdata);
- gdk_threads_leave (); /* CHECKED */
g_object_unref (info->mail_op);
if (info->msg)
g_object_unref (info->msg);
g_slice_free (CreateMsgIdleInfo, info);
+ gdk_threads_leave (); /* CHECKED */
return FALSE;
}