aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_image_factory.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 11:59:19 +0000
committerCedric BAIL <cedric.bail@free.fr>2019-02-11 11:06:13 -0800
commit053146598c346aa7c200aee55093a5e463d255de (patch)
tree44c1acdd0761d0ed48a4ac70121d686504a24a4d /src/lib/elementary/efl_ui_image_factory.c
parentefl-csharp: Fix self in iface concrete functions (diff)
downloadefl-053146598c346aa7c200aee55093a5e463d255de.tar.gz
efl_ui : rename model connect and factory connect to bind property and factory.
As we discussed in https://phab.enlightenment.org/T7469 with V40, efl_ui_model_connect efl_ui_factory_model_connect need to be renamed to efl_ui_bind_property efl_ui_bind_factory for this work, Efl.Ui.Model.Connect interface is changed as Efl.Ui.Bind, and bind_property and bind_factory both method is supported by this interface. bind_factory need Efl.Ui.Factory, and Efl.Ui.Factory inheritted Efl.Ui.Bind, so I little bit concerned about circular referencing, but so far, it works well. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7529
Diffstat (limited to 'src/lib/elementary/efl_ui_image_factory.c')
-rw-r--r--src/lib/elementary/efl_ui_image_factory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_image_factory.c b/src/lib/elementary/efl_ui_image_factory.c
index 4cd08cd5f5..1b34c110b2 100644
--- a/src/lib/elementary/efl_ui_image_factory.c
+++ b/src/lib/elementary/efl_ui_image_factory.c
@@ -34,14 +34,14 @@ _efl_ui_image_factory_efl_object_destructor(Eo *obj EINA_UNUSED, Efl_Ui_Image_Fa
}
static Eina_Value
-_efl_ui_image_factory_connect(Eo *obj EINA_UNUSED, void *data, const Eina_Value value)
+_efl_ui_image_factory_bind(Eo *obj EINA_UNUSED, void *data, const Eina_Value value)
{
Efl_Gfx_Entity *entity = NULL;
Efl_Ui_Image_Factory_Data *pd = data;
eina_value_pget(&value, &entity);
- efl_ui_model_connect(entity, "filename", pd->property);
+ efl_ui_property_bind(entity, "filename", pd->property);
return value;
}
@@ -58,12 +58,12 @@ _efl_ui_image_factory_efl_ui_factory_create(Eo *obj, Efl_Ui_Image_Factory_Data *
return efl_future_then(obj, f,
.success_type = EINA_VALUE_TYPE_OBJECT,
- .success = _efl_ui_image_factory_connect,
+ .success = _efl_ui_image_factory_bind,
.data = pd);
}
EOLIAN static void
-_efl_ui_image_factory_efl_ui_model_connect_connect(Eo *obj EINA_UNUSED, Efl_Ui_Image_Factory_Data *pd, const char *name EINA_UNUSED, const char *property)
+_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);
}