Re: gtk2 and windows xp

2005-08-11 Thread Yogesh M
missed to cover gtk_main() with gdk_threads_enter and gdk_threads_leave. now works fine. Tor Lillqvist <[EMAIL PROTECTED]> wrote: (Again re-added gtk-app-devel-list to Cc. Discussions that start on a list should stay there.) Yogesh M writes: > the problem is in gdk_thread_enter and gdk_thread_l

Re: gtk2 and windows xp

2005-08-10 Thread Tor Lillqvist
(Again re-added gtk-app-devel-list to Cc. Discussions that start on a list should stay there.) Yogesh M writes: > the problem is in gdk_thread_enter and gdk_thread_leave which i > call from the thread to draw something in the drawing area, Well, as I said, don't do that. > 1) How does it work

Re: gtk2 and windows xp

2005-08-10 Thread Tor Lillqvist
(Re-added gtk-app-devel-list to Cc. Discussions that start on a list should stay there.) Yogesh M writes: > Gthread not supported in windows? I did not say that. Gthread works fine. It's using GDK from multiple threads that doesn't work. > then how does the thread is executed seperately while

Re: gtk2 and windows xp

2005-08-10 Thread Tor Lillqvist
Yogesh M writes: > In windows XP, gthread doesnt work, it seems to hang the > program. works nicely in windows 98 though. Just a coincidence, presumably. Windows 98 is not a "real" operating system. It doesn't support multiple processors (even hyperthreading). > it works, though it is going to

Re: gtk2 and windows xp

2005-08-10 Thread Hubert SokoĊ‚owski
Hi! On Wed, 10 Aug 2005 01:29:34 -0700 (PDT) Yogesh M <[EMAIL PROTECTED]> wrote: > In windows XP, gthread doesnt work, it seems to hang the program. works > nicely in windows 98 though. > > In XP it shoulds a white window and doesnt draws or responds > > when i comment thse line > g_thread

gtk2 and windows xp

2005-08-10 Thread Yogesh M
In windows XP, gthread doesnt work, it seems to hang the program. works nicely in windows 98 though. In XP it shoulds a white window and doesnt draws or responds when i comment thse line g_thread_init () gdk_threads_init() it works, though it is going to crash when executing thread. it is a