Fixed in trunk. The global GVolumeMonitor apparently was getting cleaned up and this caused GVolume objects to not return GMounts... Which all sounds bad. I'll open a glib task to remember to file a bug upstream. For now I've worked around it by just making sure that the global GVolumeMonitor is always ref'ed when used, so it doesn't ever go to zero refs.
Fixed in trunk. The global GVolumeMonitor apparently was getting cleaned up and this caused GVolume objects to not return GMounts... Which all sounds bad. I'll open a glib task to remember to file a bug upstream. For now I've worked around it by just making sure that the global GVolumeMonitor is always ref'ed when used, so it doesn't ever go to zero refs.