Re: Help Newbie cause updates of Notebook with textview
- From: stian nixia no
- To: "Ansell, Larry" <Larry_Ansell maxtor com>
- Cc: gtk-list gnome org
- Subject: Re: Help Newbie cause updates of Notebook with textview
- Date: Fri, 8 Apr 2005 21:27:19 +0200 (CEST)
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]