elementary: use data:null to remove unecessary structure declaration.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9389
This commit is contained in:
Cedric BAIL 2019-07-24 15:48:30 -07:00 committed by Marcel Hollerbach
parent 880296bb7d
commit f66844ebbf
4 changed files with 5 additions and 12 deletions

View File

@ -15,12 +15,8 @@
#define MY_CLASS_NAME "Efl.Ui.Grid"
typedef struct {
} Efl_Ui_Grid_Data;
EOLIAN static Eo *
_efl_ui_grid_efl_object_constructor(Eo *obj, Efl_Ui_Grid_Data *pd EINA_UNUSED)
_efl_ui_grid_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
{
obj = efl_constructor(efl_super(obj, MY_CLASS));

View File

@ -1,7 +1,7 @@
class @beta Efl.Ui.Grid extends Efl.Ui.Collection
{
[[Simple grid widget with Pack interface.]]
data: null;
implements {
Efl.Object.constructor;
}

View File

@ -15,12 +15,8 @@
#define MY_CLASS_NAME "Efl.Ui.List"
typedef struct {
} Efl_Ui_List_Data;
EOLIAN static Eo *
_efl_ui_list_efl_object_constructor(Eo *obj, Efl_Ui_List_Data *pd EINA_UNUSED)
static Eo *
_efl_ui_list_efl_object_constructor(Eo *obj, void *pd EINA_UNUSED)
{
obj = efl_constructor(efl_super(obj, MY_CLASS));

View File

@ -1,6 +1,7 @@
class @beta Efl.Ui.List extends Efl.Ui.Collection
{
[[Simple list widget with Pack interface.]]
data: null;
implements {
Efl.Object.constructor;
}