projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c964a52
)
event-loop: Drop unused idle_list
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 29 Apr 2011 13:20:29 +0000
(09:20 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 29 Apr 2011 13:20:29 +0000
(09:20 -0400)
Idle sources are now just a special case of a checked source.
wayland/event-loop.c
patch
|
blob
|
history
diff --git
a/wayland/event-loop.c
b/wayland/event-loop.c
index
60aa236
..
0f41034
100644
(file)
--- a/
wayland/event-loop.c
+++ b/
wayland/event-loop.c
@@
-37,7
+37,6
@@
struct wl_event_loop {
int epoll_fd;
- struct wl_list idle_list;
struct wl_list check_list;
};
@@
-375,7
+374,6
@@
wl_event_loop_add_idle(struct wl_event_loop *loop,
source->func = func;
source->base.data = data;
- wl_list_insert(loop->idle_list.prev, &source->base.link);
wl_event_source_check(&source->base);
return &source->base;
@@
-412,7
+410,6
@@
wl_event_loop_create(void)
free(loop);
return NULL;
}
- wl_list_init(&loop->idle_list);
wl_list_init(&loop->check_list);
return loop;