summaryrefslogtreecommitdiff
path: root/test/test-nautilus-mime-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-nautilus-mime-actions.c')
-rw-r--r--test/test-nautilus-mime-actions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-nautilus-mime-actions.c b/test/test-nautilus-mime-actions.c
index 2cc31d8fe..1552f04fd 100644
--- a/test/test-nautilus-mime-actions.c
+++ b/test/test-nautilus-mime-actions.c
@@ -152,7 +152,7 @@ main (int argc, char **argv)
GList *short_list_components;
GList *short_list_applications;
NautilusFile *file;
- GList *attributes;
+ NautilusFileAttributes attributes;
gnome_program_init ("test-nautilus-mime-actions", "0.0",
LIBGNOMEUI_MODULE, argc, argv, NULL);
@@ -167,7 +167,6 @@ main (int argc, char **argv)
attributes = nautilus_mime_actions_get_full_file_attributes ();
nautilus_file_call_when_ready (file, attributes, ready_callback, NULL);
- g_list_free (attributes);
while (!ready) {
gtk_main_iteration ();