eloop: fix unregistering post-cbs

This is obviously a copy/paste error. This fixes the unregistering to
correctly work now.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann committed 2012-09-11 16:34:56 +02:00
1 parent 962dfd8bea
commit de9111b40a
1 file changed
+1 -1
+1 -1
View File
@@ -2264,5 +2264,5 @@ void ev_eloop_unregister_post_cb(struct ev_eloop *eloop, ev_idle_cb cb,
if (!eloop)
return;
kmscon_hook_rm_cast(eloop->idlers, cb, data);
kmscon_hook_rm_cast(eloop->posts, cb, data);
}