diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-29 09:20:29 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-29 09:20:29 -0400 |
commit | a0da7468f87bbff74686a8b1608fb6e0de91a861 (patch) | |
tree | b16e7b531ebf0592586889fd4b51013e66be192e | |
parent | c964a5201e2d47ea53d54da58c9b97bfeec992fc (diff) |
event-loop: Drop unused idle_list
Idle sources are now just a special case of a checked source.
-rw-r--r-- | wayland/event-loop.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/wayland/event-loop.c b/wayland/event-loop.c index 60aa236..0f41034 100644 --- 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; |