Changeset View
Changeset View
Standalone View
Standalone View
src/lib/elementary/efl_ui_widget_factory.c
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 110 | _efl_ui_widget_factory_efl_ui_factory_release(Eo *obj EINA_UNUSED, | |||
---|---|---|---|---|---|
111 | Efl_Ui_Widget_Factory_Data *pd EINA_UNUSED, | 111 | Efl_Ui_Widget_Factory_Data *pd EINA_UNUSED, | ||
112 | Efl_Gfx_Entity *ui_view) | 112 | Efl_Gfx_Entity *ui_view) | ||
113 | { | 113 | { | ||
114 | // We do not cache or track this item, just get rid of them asap | 114 | // We do not cache or track this item, just get rid of them asap | ||
115 | efl_del(ui_view); | 115 | efl_del(ui_view); | ||
116 | } | 116 | } | ||
117 | 117 | | |||
118 | static void | 118 | static void | ||
119 | _efl_ui_widget_factory_efl_ui_model_connect_connect(Eo *obj, Efl_Ui_Widget_Factory_Data *pd, | 119 | _efl_ui_widget_factory_efl_ui_property_bind_property_bind(Eo *obj, Efl_Ui_Widget_Factory_Data *pd, | ||
120 | const char *name, const char *property) | 120 | const char *target, const char *property) | ||
121 | { | 121 | { | ||
122 | if (!strcmp(name, "style")) | 122 | if (!strcmp(target, "style")) | ||
123 | { | 123 | { | ||
124 | eina_stringshare_replace(&pd->style, property); | 124 | eina_stringshare_replace(&pd->style, property); | ||
125 | return ; | 125 | return ; | ||
126 | } | 126 | } | ||
127 | 127 | | |||
128 | efl_ui_model_connect(efl_super(obj, EFL_UI_WIDGET_FACTORY_CLASS), name, property); | 128 | efl_ui_property_bind(efl_super(obj, EFL_UI_WIDGET_FACTORY_CLASS), target, property); | ||
129 | } | 129 | } | ||
130 | 130 | | |||
131 | #include "efl_ui_widget_factory.eo.c" | 131 | #include "efl_ui_widget_factory.eo.c" |