forked from enlightenment/efl
eio model: remove useless efreet_mime_type_get call
This commit is contained in:
parent
2bf65e4ef8
commit
9f2270804b
|
@ -348,12 +348,6 @@ _eio_model_efl_model_property_get(Eo *obj, Eio_Model_Data *priv, const char *pro
|
|||
}
|
||||
else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MIME_TYPE], property) == 0)
|
||||
{
|
||||
value = efreet_mime_type_get(priv->path);
|
||||
if (value == NULL)
|
||||
{
|
||||
value = "";
|
||||
WRN("could not get mime type for: %s", priv->path);
|
||||
}
|
||||
property_name = EIO_MODEL_PROP_MIME_TYPE;
|
||||
}
|
||||
else if(strcmp(_eio_model_prop_names[EIO_MODEL_PROP_MTIME], property) == 0)
|
||||
|
|
Loading…
Reference in New Issue