aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_image_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_image_factory.c
parentefl_ui_widget: rework documentation of focus_state_apply (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_image_factory.c')
-rw-r--r--src/lib/elementary/efl_ui_image_factory.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_image_factory.c b/src/lib/elementary/efl_ui_image_factory.c
index 1b34c110b2..9bf9f39a9c 100644
--- a/src/lib/elementary/efl_ui_image_factory.c
+++ b/src/lib/elementary/efl_ui_image_factory.c
@@ -62,10 +62,11 @@ _efl_ui_image_factory_efl_ui_factory_create(Eo *obj, Efl_Ui_Image_Factory_Data *
.data = pd);
}
-EOLIAN static void
+EOLIAN static Eina_Error
_efl_ui_image_factory_efl_ui_property_bind_property_bind(Eo *obj EINA_UNUSED, Efl_Ui_Image_Factory_Data *pd, const char *key EINA_UNUSED, const char *property)
{
- eina_stringshare_replace(&pd->property, property);
+ eina_stringshare_replace(&pd->property, property);
+ return 0;
}
#include "efl_ui_image_factory.eo.c"