summaryrefslogtreecommitdiff
path: root/src/lib/eio/eio_model.c
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-09-23 11:32:46 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-09-23 13:21:55 -0300
commit87fec804130a23ca55db0574c4404228a5b1459e (patch)
tree98013757c6c4dd9d08a2743228e42ae74c153bbe /src/lib/eio/eio_model.c
parentea7939897c26b3c7767cf84fb6d73e34e46e77ad (diff)
eio model: use empty mime type when efreet is unable to determine it
FIX T4502 @fix
Diffstat (limited to 'src/lib/eio/eio_model.c')
-rw-r--r--src/lib/eio/eio_model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c
index 40663f8..300000b 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
323 value = efreet_mime_type_get(priv->path); 323 value = efreet_mime_type_get(priv->path);
324 if (value == NULL) 324 if (value == NULL)
325 { 325 {
326 eina_promise_owner_error_set(promise, EFL_MODEL_ERROR_NOT_FOUND); 326 value = "";
327 return rpromise; 327 WRN("could not get mime type for: %s", priv->path);
328 } 328 }
329 property_name = EIO_MODEL_PROP_MIME_TYPE; 329 property_name = EIO_MODEL_PROP_MIME_TYPE;
330 } 330 }