From 133c3b83e0adc5fede07d640c727ac91e949e86c Mon Sep 17 00:00:00 2001 From: titan Date: Tue, 3 Aug 2010 17:57:10 +0000 Subject: [PATCH] Whoops. Fix for real. SVN revision: 50776 --- src/bin/ephoto_thumb_browser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index ec7ec0d..4e34787 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -176,9 +176,9 @@ _ephoto_populate_filter(const void *data, const char *file) { const char *type; - if (!(type = efreet_mime_type_get((const char *)file))) + printf("%s\n", file); + if (!(type = efreet_mime_type_get(file))) return EINA_FALSE; - if (!strncmp(type, "image", 5)) return EINA_TRUE; @@ -187,7 +187,7 @@ _ephoto_populate_filter(const void *data, const char *file) /*Done populating images*/ static void -_ephoto_populate_end(void *data) +_ephoto_populate_end(const void *data) { list = NULL;