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:
821911d
)
Don't add cursor callback for delete on parents of sub objects
author
Bruno Dilly
<bdilly@profusion.mobi>
Mon, 27 Sep 2010 22:17:40 +0000
(22:17 +0000)
committer
Bruno Dilly
<bdilly@profusion.mobi>
Mon, 27 Sep 2010 22:17:40 +0000
(22:17 +0000)
They will only display a warning because they don't have a cursor themselves.
Only adding for the eventareas will free everything created.
SVN revision: 52821
src/lib/els_cursor.c
patch
|
blob
|
history
diff --git
a/src/lib/els_cursor.c
b/src/lib/els_cursor.c
index 7a64db49fe5bb109af71e065565c6f0b246674a7..a12200084419fc72b697b2da227368ef6249325f 100644
(file)
--- a/
src/lib/els_cursor.c
+++ b/
src/lib/els_cursor.c
@@
-364,9
+364,6
@@
elm_object_sub_cursor_set(Evas_Object *eventarea, Evas_Object *owner, const char
_elm_cursor_mouse_out, cur);
evas_object_event_callback_add(eventarea, EVAS_CALLBACK_DEL,
_elm_cursor_del, cur);
- if (owner != eventarea)
- evas_object_event_callback_add(owner, EVAS_CALLBACK_DEL,
- _elm_cursor_del, cur);
}
/**