Re: Help Newbie cause updates of Notebook with textview

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

 



> but got the complaint (DUH) "GLIB-WARNING: g_main_context_prepare(): main
> loop already active in another thread"
> which makes sense, since this call of UpdateDisplay() is on the thread of
> my external application.

Please read the thread section of the gtk api spec / documentation and the
usage of gdk_thread_enter() and gdk_thread_leave(). Callbacks from glib
needs to use these (signals from gtk widgets are already holding this
lock)


Stian Skjelstad
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux