Andrei,
Scott, I tried this and I didn't get any errors.. Can anyone else confirm?
I tried it too and also don't get any errors.
Me too, but I have elderly source here and got a warning over a stock icon (it fell back to the non-existent default). Probably won't happen when I upgrade.
Scott, where are you running the script from? Is it on a separate drive or something? The only clue I could find when I dug around earlier was this:
/**
* gtk_file_system_get_volume_for_path:
* @file_system: a #GtkFileSystem
* @path: a #GtkFilePath
*
* Queries the file system volume that corresponds to a specific path.
* There might not be a volume for all paths (consider for instance remote
* shared), so this can return NULL.
*
* Return value: the #GtkFileSystemVolume that corresponds to the specified
* @path, or NULL if there is no such volume. You should free this value with
* gtk_file_system_volume_free().
**/
but if it's nothing to do with that I'm looking at the GtkFileSystemIface code and freaking out gently :-(
- Steph