summaryrefslogtreecommitdiff
path: root/gtk/xdgmime/test-mime.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-01 14:42:02 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-01 14:42:02 +0000
commit6224a37708ac86a9b1ff0f3e6653b90aae6ba16d (patch)
tree39cea49fcb483ead846e9211b1cc0f6afc97e621 /gtk/xdgmime/test-mime.c
parent9a4ec3526d7c2319081c09790aebef6c459ff5dd (diff)
downloadgtk+-6224a37708ac86a9b1ff0f3e6653b90aae6ba16d.tar.gz
Pass statbufs down to xdg_mime_get_mime_type_for_file() where possible, to
2005-09-01 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystemunix.c: Pass statbufs down to xdg_mime_get_mime_type_for_file() where possible, to avoid useless re-stating.
Diffstat (limited to 'gtk/xdgmime/test-mime.c')
-rw-r--r--gtk/xdgmime/test-mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/xdgmime/test-mime.c b/gtk/xdgmime/test-mime.c
index b0bcc875fe..9364cf8238 100644
--- a/gtk/xdgmime/test-mime.c
+++ b/gtk/xdgmime/test-mime.c
@@ -108,7 +108,7 @@ main (int argc, char *argv[])
for (i = 1; i < argc; i++)
{
file_name = argv[i];
- result = xdg_mime_get_mime_type_for_file (file_name);
+ result = xdg_mime_get_mime_type_for_file (file_name, NULL);
printf ("File \"%s\" has a mime-type of %s\n", file_name, result);
}