projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67b655
)
[Genlist] Fix bug when error abort is enabled.
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Tue, 7 May 2013 10:41:15 +0000
(19:41 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 7 May 2013 10:41:15 +0000
(19:41 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
abdcd6c
..
4f5a737
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-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";