[Genlist] Fix bug when error abort is enabled.

This commit is contained in:
Tae-Hwan Kim 2013-05-07 19:41:15 +09:00 committed by Daniel Juyung Seo
parent 503e6ecfc5
commit e6afe0c33d
1 changed files with 5 additions and 3 deletions

View File

@ -32,9 +32,11 @@ EAPI Eo_Op ELM_OBJ_GENLIST_BASE_ID = EO_NOOP;
#define SWIPE_TIME 0.4
#define SCR_HOLD_TIME 0.1
#define ERR_ABORT(_msg) \
ERR(_msg); \
if (getenv("ELM_ERROR_ABORT")) abort();
#define ERR_ABORT(_msg) \
do { \
ERR(_msg); \
if (getenv("ELM_ERROR_ABORT")) abort(); \
} while (0)
static const char SIG_ACTIVATED[] = "activated";
static const char SIG_CLICKED_DOUBLE[] = "clicked,double";