-
Federico Mena Quintero authored
This commit introduces a PathOrUrl enum, which gets created out of a *const libc::c_char. The idea is that it will figure out whether the string that comes from C represents a path or a URL, so the code can decide whether to call gio::File::new_for_path() or gio::File::new_for_uri(). Thanks to Kleis Auke Wolthuizen for actually making this work :) Fixes #426
d966f3b9