eio: use the right type of Eina_Value to report error.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 22 Nov 2018 00:43:10 +0000 (16:43 -0800)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:37:06 +0000 (14:37 +0900)
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7322

src/lib/eio/eio_model.c

index ee8296a..b4cb98d 100644 (file)
@@ -577,7 +577,7 @@ _property_size_cb(const Eo *obj, Eio_Model_Data *pd)
      return eina_value_error_new(pd->error);
 
    _eio_build_st(obj, pd);
-   return eina_value_ulong_new(EAGAIN);
+   return eina_value_error_new(EAGAIN);
 }
 
 static Eina_Value *