Mercurial > pidgin.yaz
changeset 14145:6958202c8ee6
[gaim-migrate @ 16788]
gdk_threads_init() is causing problems on win32 for some reason.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 16 Aug 2006 11:13:19 +0000 |
parents | 92f5e6f3acfb |
children | 55e3db9db9f6 |
files | src/gtkmain.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkmain.c Wed Aug 16 07:19:41 2006 +0000 +++ b/src/gtkmain.c Wed Aug 16 11:13:19 2006 +0000 @@ -650,7 +650,9 @@ * threadify dbus when that gets initialized. Ugh. */ if (!g_thread_supported()) g_thread_init(NULL); +#ifndef _WIN32 gdk_threads_init(); +#endif #endif /* Glib has threads */ gui_check = gtk_init_check(&argc, &argv);