projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be0948
)
[controlbar] change the location of <evas_object_event_callback_del>
author
Jeahwan Kim
<jae.hwan.kim@samsung.com>
Mon, 20 Sep 2010 08:17:01 +0000
(17:17 +0900)
committer
Jeahwan Kim
<jae.hwan.kim@samsung.com>
Mon, 20 Sep 2010 08:17:01 +0000
(17:17 +0900)
src/lib/elm_controlbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_controlbar.c
b/src/lib/elm_controlbar.c
index
c34a96a
..
3643210
100644
(file)
--- a/
src/lib/elm_controlbar.c
+++ b/
src/lib/elm_controlbar.c
@@
-1169,8
+1169,10
@@
unpressed_box_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
const Eina_List *l;
Evas_Event_Mouse_Up * ev = event_info;
Evas_Coord x, y, w, h;
-
Elm_Controlbar_Item * item;
+
+ evas_object_event_callback_del(wd->event_box, EVAS_CALLBACK_MOUSE_UP, unpressed_box_cb);
+
EINA_LIST_FOREACH(wd->items, l, item)
{
if (item->style == TABBAR)
@@
-1199,8
+1201,6
@@
unpressed_box_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
selected_box(wd->pre_item);
}
- evas_object_event_callback_del(wd->event_box, EVAS_CALLBACK_MOUSE_UP, unpressed_box_cb);
-
return;
}