menu threaded test: run the mainloop after export
authorRyan Lortie <desrt@desrt.ca>
Thu, 8 Dec 2011 02:10:18 +0000 (21:10 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 8 Dec 2011 23:05:15 +0000 (18:05 -0500)
commit25ffde957cfcaa07c44a348da61d04456865d396
treeee02fe05b75bf63438de2cf64c1236761e861574
parent1c036cb9f525853174c96d11e77160c315476df0
menu threaded test: run the mainloop after export

GDBusConnection now dispatches GDestroyNotify calls back to the
mainloop.  Adding an idle to the mainloop is O(n) in the number of idles
already there.  We therefore need to periodically empty the mainloop to
avoid quadratic behaviour with a very large 'n'.
gio/tests/gmenumodel.c