Bug#639318: idle_add workaround

Clinton Roy clinton.roy at gmail.com
Fri Oct 28 09:39:09 UTC 2011


After debugging this a bit I've found a workaround, and maybe the problem.

The xml gir wrapper seems to be passing the python Glib.idle_add()
args to the C glib_idle_add_full() function which takes an extra
parameter, a priority. Passing three arguments to Glib.idle_add()
works: e.g.  GLib.idle_add(GLib.PRIORITY_DEFAULT_IDLE, function, data)

The cause of this might be the declaration in Glib.gir, where the
idle_add_full function shadows the idle_add function.

Hope that helps some poor bugger out there :)
-- 
Clinton Roy
Software Developer
Netboxblue.com
Total Internet Management
Control Internet usage within and outside your organisation.






More information about the pkg-gnome-maintainers mailing list