Re: How to create a dialog window from a thread?



"Michael Loft" <michael loft dk> writes:

Where do you put it?
I tried putting it a the last line of the thread function and I tried as 
the first line.
Didn't make any difference to the warning.

I get the warning as soon as the dialog pops up and gtk gets any 
input at all. I mean, even if I only move the dialog window, the GLib 
warnings start.


I meant instead of running the main loop, after making all your GTK
calls to create and show the dialog.

This is an X suggestion though - gdk_flush() may or may not do
anything on Windows, and in fact this could be a Windows/GTK bug
you're seeing - I'm just not familiar with the Windows port.

Havoc




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