efl_ui_widget: Remove duplicate definition of ELM_WIDGET_DATA_GET
authorChristopher Michael <cp.michael@samsung.com>
Tue, 19 Mar 2019 12:33:01 +0000 (08:33 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
Patch 28400e3260b3c6af56ce6b added a define for ELM_WIDGET_DATA_GET
which is available for all widgets so we do not need to redefine it
here.

src/lib/elementary/efl_ui_widget.c

index d6c15b9..a510018 100644 (file)
@@ -31,9 +31,6 @@
 #define MY_CLASS_NAME "Efl_Ui_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                                    \
   Elm_Widget_Smart_Data *sd = NULL;                  \
   if (!_elm_widget_is(obj) ||                        \