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:
4cae5eb
)
datetime: fixed elm_wdg_disable parameter ret to &int_ret for
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 7 Dec 2013 19:59:35 +0000
(
04:59
+0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 7 Dec 2013 19:59:35 +0000
(
04:59
+0900)
consistency.
src/lib/elm_datetime.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_datetime.c
b/src/lib/elm_datetime.c
index ce79771bb3f8e2cf7aa3a24a8952fe68b693b63b..bc5eaf8c809ea498972a6dbb75bd1e06aad9ff03 100644
(file)
--- a/
src/lib/elm_datetime.c
+++ b/
src/lib/elm_datetime.c
@@
-479,9
+479,12
@@
_elm_datetime_smart_disable(Eo *obj, void *_pd, va_list *list)
Datetime_Field *field;
unsigned int idx = 0;
if (ret) *ret = EINA_FALSE;
+ Eina_Bool int_ret;
Elm_Datetime_Smart_Data *sd = _pd;
- eo_do_super(obj, MY_CLASS, elm_wdg_disable(ret));
+ eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
+ if (!int_ret) return;
+
for (idx = 0; idx < ELM_DATETIME_TYPE_COUNT; idx++)
{
field = sd->field_list + idx;