summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2013-12-05 10:01:43 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2013-12-05 16:38:02 +0900
commita69abd4d9279d4c2c7e4d2dc44faba38db09e10d (patch)
tree5e1c7ffcbedd7e5526a3db31ff50c93823998a12 /src
parentf87ad6c9b81402b02563b93e7fe78d621419ed3f (diff)
elementary/elm_button.c : Change the timing of signal_emitting.
Application can delete button itsefl(or its parent) inside the smart callback function. So the signal_emitting with button object should be done in advance.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c
index e1f3da85d..42f337f27 100644
--- a/src/lib/elm_button.c
+++ b/src/lib/elm_button.c
@@ -184,8 +184,8 @@ _elm_button_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
184 (strcmp(ev->key, "space"))) 184 (strcmp(ev->key, "space")))
185 return; 185 return;
186 186
187 _activate(obj);
188 elm_layout_signal_emit(obj, "elm,anim,activate", "elm"); 187 elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
188 _activate(obj);
189 189
190 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; 190 ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
191 if (ret) *ret = EINA_TRUE; 191 if (ret) *ret = EINA_TRUE;