summaryrefslogtreecommitdiff
path: root/programs/gvfs-cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'programs/gvfs-cat.c')
-rw-r--r--programs/gvfs-cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/gvfs-cat.c b/programs/gvfs-cat.c
index e62c9823..2f0925b1 100644
--- a/programs/gvfs-cat.c
+++ b/programs/gvfs-cat.c
@@ -95,7 +95,7 @@ main (int argc, char *argv[])
int i;
for (i = 1; i < argc; i++) {
- file = g_file_get_for_commandline_arg (argv[i]);
+ file = g_file_new_for_commandline_arg (argv[i]);
cat (file);
g_object_unref (file);
}