Trouble with TreeView

2012-03-21 Thread James Steward
Hi All, I've built a TreeModel by creating a new TreeStore, and populating it with; for (rp = parent; rp; rp = rp->next) { gtk_tree_store_append(store, &iter, NULL); gtk_tree_store_set(store, &iter, 0, rp->number, -1); for (ep = rp->child; ep; ep = ep->ne

Small main loops for simple operations

2012-03-21 Thread Amit
Using GIO with asynchronous mounting/unmounting. This requires a main loop to be running in order for the callbacks to work. So, I already have a main application that uses a select based main loop. Can't change this unfortunately. When the main loop receives a mount request, a function is called