summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-10-28 21:19:37 -0200
committerVitor Sousa <vitorsousasilva@gmail.com>2016-10-28 21:21:57 -0200
commit9f2270804bd648ab9fcf0bc67f7e607435bfb325 (patch)
treee8fb87b5f1d97b906c14e913c9d7568879164a94 /src/lib/eio/eio_model.c
parent2bf65e4ef89d74b5702dfce50e79711dbf214d66 (diff)
eio model: remove useless efreet_mime_type_get call
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index 0302135..636022d 100644
--- a/src/lib/eio/eio_model.c
+++ b/src/lib/eio/eio_model.c
@@ -348,12 +348,6 @@ _eio_model_efl_model_property_get(Eo *obj, Eio_Model_Data *priv, const char *pro
348 } 348 }
349 else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MIME_TYPE], property) == 0) 349 else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MIME_TYPE], property) == 0)
350 { 350 {
351 value = efreet_mime_type_get(priv->path);
352 if (value == NULL)
353 {
354 value = "";
355 WRN("could not get mime type for: %s", priv->path);
356 }
357 property_name = EIO_MODEL_PROP_MIME_TYPE; 351 property_name = EIO_MODEL_PROP_MIME_TYPE;
358 } 352 }
359 else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MTIME], property) == 0) 353 else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MTIME], property) == 0)