forked from enlightenment/efl
efl_ui_widget: Remove duplicate definition of ELM_WIDGET_DATA_GET
Patch 28400e3260
added a define for ELM_WIDGET_DATA_GET
which is available for all widgets so we do not need to redefine it
here.
This commit is contained in:
parent
7ceba76957
commit
04ea005218
|
@ -30,9 +30,6 @@
|
||||||
#define MY_CLASS_NAME "Efl_Ui_Widget"
|
#define MY_CLASS_NAME "Efl_Ui_Widget"
|
||||||
#define MY_CLASS_NAME_LEGACY "elm_widget"
|
#define MY_CLASS_NAME_LEGACY "elm_widget"
|
||||||
|
|
||||||
#define ELM_WIDGET_DATA_GET(o, wd) \
|
|
||||||
Elm_Widget_Smart_Data *wd = efl_data_scope_get(o, MY_CLASS)
|
|
||||||
|
|
||||||
#define API_ENTRY \
|
#define API_ENTRY \
|
||||||
Elm_Widget_Smart_Data *sd = NULL; \
|
Elm_Widget_Smart_Data *sd = NULL; \
|
||||||
if (!_elm_widget_is(obj) || \
|
if (!_elm_widget_is(obj) || \
|
||||||
|
|
Loading…
Reference in New Issue