jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=abc075aeb3ef53e7c879e548f4280a48ed477639

commit abc075aeb3ef53e7c879e548f4280a48ed477639
Author: Daniel Zaoui <[email protected]>
Date:   Tue Sep 26 09:49:58 2017 +0300

    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 | 1 +
 1 file changed, 1 insertion(+)

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"
 
 /**

-- 


Reply via email to