Hi,
I'm writing a multithread app where different threads operate on the
graphic.
The non gui threads operate on graphic only after semaphores:

gdk_threads_enter();
OPERATION ON GUI FROM NON GUI THREAD
gdk_threads_leave();

and the gui thread is opened this way:

g_thread_init(NULL);
gdk_threads_init();
Gtk::Main  kit(argc, argv);
...
gdk_threads_enter();
Gtk::Main::run(p_window);
gdk_threads_leave();

After some time the gui starts to deteriorate as in screenshot
http://www.freeimagehosting.net/hjltx (label over an icon, columns not
expanding...).
I have no clue about what could be wrong since there is no warning/error
from the terminal
while in the past when I missed a gdk_threads_enter/gdk_threads_leave I had
errors printed and the app crashed.

Can anybody help me to understand where the error could be given the
screenshot?
I'm also considering porting the app back to gtkmm2 but since I use glade
I'm afraid this will be not that easy.
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to