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)
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

index 254a876..ae3657b 100644 (file)
@@ -4,6 +4,7 @@
  * @{
  */
 
+#include "elm_popup_item.eo.h"
 #include "elm_popup.eo.h"
 
 /**