Zeeshan Ali wrote:
Hello,
On Tue, 22 Feb 2005 15:22:50 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote:


Are you sure?


   Yeah I am sure and thats why i suspect that it may be pointing to a
bug in gtk+. Why don't you try it youself? Shouldn't  take > 15 mins.
:)
Hi :)
When you create main loop with NULL as context parameter, main loop gets shared default context. Before you create your main loop, default context was populated with functions from gtk/gdk.


The blocker is gdk_event_prepare (it just locks the global mutex), GLib code call it because the event source is not removed by gtk_main_quit.

You may:
1. Create separate context (this looks like the best solution).
2. Use gdk_threads_leave() before your g_main_loop_run() call.

Are you really need to use smth like that in your code ?

        Olexiy

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to