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:
1 parent
962dfd8bea
commit
de9111b40a
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user