Re: gtk2 and windows xp



(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 in windows 98 and not in windows xp,

No idea, and not really interested. Windows 98 might not be dead, but
it sure smells bad.

2) i am calling g_thread_init () gdk_threads_init() from main
thread, why should it hang here,

It doesn't. A program that just calls g_thread_init(NULL) and
gdk_threads_init() in main() does not hang. Your program must be doing
something else, too. I am not clairvoyant.

the child thread is called only when the user calls it through the
dialog. So the program should not hang at the beginning instead it
should have hang when user starts the child thread.

Attach a *complete* but *minimal* sample program to a bug report.

--tml




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