summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@yahoo.com>2017-09-26 09:49:58 +0300
committerDaniel Zaoui <daniel.zaoui@yahoo.com>2017-09-26 10:16:44 +0300
commitabc075aeb3ef53e7c879e548f4280a48ed477639 (patch)
tree34a5686ef1310b5fd76325dca70542cad0656799
parent4d4401f3a60024a0762393c3984065b73927eb86 (diff)
downloadefl-abc075aeb3ef53e7c879e548f4280a48ed477639.tar.gz
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.
-rw-r--r--src/lib/elementary/elc_popup_eo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_popup_eo.h b/src/lib/elementary/elc_popup_eo.h
index 254a876765..ae3657bb8e 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"
/**