From: Daniel Zaoui Date: Tue, 26 Sep 2017 06:49:58 +0000 (+0300) Subject: Fix crash when an application wants to get the popup item class X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abc075aeb3ef53e7c879e548f4280a48ed477639;p=platform%2Fupstream%2Fefl.git Fix crash when an application wants to get the popup item class Since elm_popup_item.eo.h is only included in elc_popup.h, the EAPI is not well defined, resulting in a crash when, in a simple C file, the item class is tried to be accessed. By including the H file in elc_popup_eo.h, we make it public (as the other item classes) and solve the EAPI issue. Thanks @jpeg for helping me to solve this issue. --- diff --git a/src/lib/elementary/elc_popup_eo.h b/src/lib/elementary/elc_popup_eo.h index 254a876..ae3657b 100644 --- a/src/lib/elementary/elc_popup_eo.h +++ b/src/lib/elementary/elc_popup_eo.h @@ -4,6 +4,7 @@ * @{ */ +#include "elm_popup_item.eo.h" #include "elm_popup.eo.h" /**