Re: GTK+ 3.6 threading?



hi;

On 24 October 2012 10:17, Dmitrijs Ledkovs <dmitrij ledkov ubuntu com> wrote:
On 24 October 2012 04:34, Ardhan Madras <ardhan rocksis net> wrote:
I can see that gdk_threads were recently removed. But there is no
guide on how to move away from those.

you should probably read this thread:

https://mail.gnome.org/archives/gtk-list/2012-September/msg00008.html

in short: you can only use GTK and GDK functions (except the ones that
start with gdk_threads_*) from the same thread that called gtk_main();
if you use another thread, schedule your UI updates through the main
loop.

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/



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