From 3821b1409e8a4eb4409ac24cf69d1c6db59f135d Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 31 Jul 2018 11:26:17 -0400 Subject: [PATCH] elm_multibuttonentry: do not define multiple times the same structs Summary: There is no reason to typedef Elm_Multibuttonentry multiple times, the header file can be included, there is no cyclic dependency. Reviewers: CHAN, zmike, #committers Reviewed By: zmike, #committers Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6705 --- src/lib/elementary/elc_multibuttonentry_legacy.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/elc_multibuttonentry_legacy.h b/src/lib/elementary/elc_multibuttonentry_legacy.h index b12f441490..57ab154de9 100644 --- a/src/lib/elementary/elc_multibuttonentry_legacy.h +++ b/src/lib/elementary/elc_multibuttonentry_legacy.h @@ -1,4 +1,5 @@ -typedef Eo Elm_Multibuttonentry; +#include "elm_multibuttonentry_item.eo.legacy.h" +#include "elm_multibuttonentry.eo.legacy.h" /** * @brief Add a new multibuttonentry to the parent @@ -27,6 +28,3 @@ EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent); * @ingroup Multibuttonentry */ EAPI void elm_multibuttonentry_format_function_set(Eo *obj, Elm_Multibuttonentry_Format_Cb format_function, const void *data); - -#include "elm_multibuttonentry_item.eo.legacy.h" -#include "elm_multibuttonentry.eo.legacy.h"