core: Drop ot_gfile_new_for_path

Not necessary anymore since we switched to GIO_USE_VFS=local in the
binaries.
This commit is contained in:
Colin Walters committed 2012-06-30 13:42:24 -04:00
1 parent d5a1f1deda
commit 311493338e
12 files changed
+25 -34

No files matched your search

-7
View File
@@ -220,13 +220,6 @@ ot_gfile_load_contents_utf8 (GFile *file,
return ret;
}
/* Like g_file_new_for_path, but only do local stuff, not GVFS */
GFile *
ot_gfile_new_for_path (const char *path)
{
return g_vfs_get_file_for_path (g_vfs_get_local (), path);
}
const char *
ot_gfile_get_path_cached (GFile *file)
{
-2
View File
@@ -40,8 +40,6 @@ GFile *ot_gfile_from_build_path (const char *first, ...) G_GNUC_NULL_TERMINATED;
GFile *ot_gfile_get_child_strconcat (GFile *parent, const char *first, ...) G_GNUC_NULL_TERMINATED;
GFile *ot_gfile_new_for_path (const char *path);
const char *ot_gfile_get_path_cached (GFile *file);
const char *ot_gfile_get_basename_cached (GFile *file);