summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_caching_factory.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-02-12 11:55:03 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-03-07 09:58:54 -0800
commitd0b70ef4e70f02e802aabb6e539f881d511ab922 (patch)
tree52297c7bd050d5e005d680d94a38d8e26285fafa /src/lib/elementary/efl_ui_caching_factory.c
parent3cf418ab82ddc16f3af7269ec6e90347f1e2f52f (diff)
downloadefl-d0b70ef4e70f02e802aabb6e539f881d511ab922.tar.gz
efl: Property_Bind should actually tell us if it succeeded or failed by returning an Eina.Error.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7939
Diffstat (limited to 'src/lib/elementary/efl_ui_caching_factory.c')
-rw-r--r--src/lib/elementary/efl_ui_caching_factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_caching_factory.c b/src/lib/elementary/efl_ui_caching_factory.c
index cfd8182617..bea7a3360c 100644
--- a/src/lib/elementary/efl_ui_caching_factory.c
+++ b/src/lib/elementary/efl_ui_caching_factory.c
@@ -324,13 +324,14 @@ _efl_ui_caching_factory_efl_object_parent_set(Eo *obj, Efl_Ui_Caching_Factory_Da
if (a) efl_event_callback_add(a, EFL_APP_EVENT_PAUSE, _efl_ui_caching_factory_pause, pd);
}
-static void
+static Eina_Error
_efl_ui_caching_factory_efl_ui_property_bind_property_bind(Eo *obj, Efl_Ui_Caching_Factory_Data *pd,
const char *key, const char *property)
{
if (!strcmp(key, "style"))
eina_stringshare_replace(&pd->style, property);
- efl_ui_property_bind(efl_super(obj, EFL_UI_CACHING_FACTORY_CLASS), key, property);
+
+ return efl_ui_property_bind(efl_super(obj, EFL_UI_CACHING_FACTORY_CLASS), key, property);
}
#include "efl_ui_caching_factory.eo.c"