summaryrefslogtreecommitdiff
path: root/test/test-nautilus-mime-actions-set.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-nautilus-mime-actions-set.c')
-rw-r--r--test/test-nautilus-mime-actions-set.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test-nautilus-mime-actions-set.c b/test/test-nautilus-mime-actions-set.c
index e2f63ac0d..7bf6ec49b 100644
--- a/test/test-nautilus-mime-actions-set.c
+++ b/test/test-nautilus-mime-actions-set.c
@@ -25,8 +25,6 @@
#include <config.h>
#include <gnome.h>
-#include <libgnomevfs/gnome-vfs-mime-handlers.h>
-#include <libgnomevfs/gnome-vfs.h>
#include <libnautilus-private/nautilus-mime-actions.h>
#include <stdio.h>
@@ -121,7 +119,7 @@ main (int argc, char **argv)
field = argv[2];
value = argv[3];
- file = nautilus_file_get (uri);
+ file = nautilus_file_get_by_uri (uri);
attributes = nautilus_mime_actions_get_full_file_attributes ();
nautilus_file_call_when_ready (file, attributes, ready_callback, NULL);