diff options
author | Vitor Sousa <vitorsousasilva@gmail.com> | 2016-09-23 11:32:46 -0300 |
---|---|---|
committer | Vitor Sousa <vitorsousasilva@gmail.com> | 2016-09-23 11:32:46 -0300 |
commit | 3dbe84f0e9a19341ed92e232befdb63554767bf9 (patch) | |
tree | a14f991f7d329db9ce8b54af32a91a6d639eacc1 | |
parent | bcf311ae3c410f8d468d8f13a77b4f44ec3cd7c4 (diff) | |
download | efl-devs/vitorsousa/T4502.tar.gz |
eio model: use empty mime type when efreet is unable to determine itdevs/vitorsousa/T4502
-rw-r--r-- | src/lib/eio/eio_model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c index 40663f8fce..300000be88 100644 --- a/src/lib/eio/eio_model.c +++ b/src/lib/eio/eio_model.c @@ -323,8 +323,8 @@ _eio_model_efl_model_property_get(Eo *obj EINA_UNUSED, Eio_Model_Data *priv, con value = efreet_mime_type_get(priv->path); if (value == NULL) { - eina_promise_owner_error_set(promise, EFL_MODEL_ERROR_NOT_FOUND); - return rpromise; + value = ""; + WRN("could not get mime type for: %s", priv->path); } property_name = EIO_MODEL_PROP_MIME_TYPE; } |