Hi Igor,

On Tuesday, 3 July 2012, Igor Chetverovod wrote
>
> Hi David,
> probably you should use macros:
> gdk_threads_enter ()
> gdk_threads_leave ().


Those macros were used to lock the main gdk thread in earlier versions of
gtk if you wanted to call gtk_ functions from many threads. They are now
deprecated, I think, and you are only supposed to call gtk functions from
the main thread.

They are not necessary for g_idle_add().
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to