Jcupitt: Ok, g_idle_add() seems to need protection by gdk_threads_enter() and leave(). Ref: http://developer.gnome.org/gdk/stable/gdk-Threads.html#gdk-threads-add-idle
gdk_threads_add_idle<http://developer.gnome.org/gdk/stable/gdk-Threads.html#gdk-threads-add-idle>() can do without. Anyway, an interesting suggestion to use the main-loop to run a job-function or "thread". This "thread" have to compete with other events like GUI-updates and key strokes. David: Ok. GRegex is not an gobject, even its call-syntax is very gobject-like. Eg: xxx_new() xxx_ref() xxx_unref() And the documentation of GRegex talks about GRegex<http://developer.gnome.org/glib/stable/glib-Perl-compatible-regular-expressions.html#GRegex> *object* all the way. I think that POD must mean Plain Old Data that looks like an object. The word *struct* and *class* in C++ are very much interchangeable. So instance of a C struct can be seen as an object. Anyway, thanks for help folk. // osmo antero On Thu, May 31, 2012 at 11:38 AM, David Nečas <y...@physics.muni.cz> wrote: > On Thu, May 31, 2012 at 07:11:10AM +0100, Osmo Antero wrote: >> Now learned that it's a POD, Perl Object. > > I meant Plain Old Data, but of course in C. Nothing in GLib (as opposed > to GObject and GIO) is an GObject. > > Yeti > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list