Fix crash when an application wants to get the popup item class
authorDaniel Zaoui <daniel.zaoui@yahoo.com>
Tue, 26 Sep 2017 06:49:58 +0000 (09:49 +0300)
committerDaniel Zaoui <daniel.zaoui@yahoo.com>
Tue, 26 Sep 2017 07:16:44 +0000 (10:16 +0300)
commitabc075aeb3ef53e7c879e548f4280a48ed477639
tree34a5686ef1310b5fd76325dca70542cad0656799
parent4d4401f3a60024a0762393c3984065b73927eb86
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.
src/lib/elementary/elc_popup_eo.h