aboutsummaryrefslogtreecommitdiffstats
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 11:32:46 -0300
commit3dbe84f0e9a19341ed92e232befdb63554767bf9 (patch)
treea14f991f7d329db9ce8b54af32a91a6d639eacc1
parentecore-drm2: Use Atomic State to enable/disable an output (diff)
downloadefl-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.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 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;
}