wlt: fix shl_hook API changes

We changed the hook_add() API but forgot to fix WLT to use the new API.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2013-01-24 20:17:26 +01:00
parent e0f798071c
commit 6a7cbd8fc0
2 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@
#include <xkbcommon/xkbcommon.h>
#include "conf.h"
#include "eloop.h"
#include "font.h"
#include "log.h"
#include "pty.h"
#include "shl_misc.h"
#include "text.h"
#include "tsm_unicode.h"
#include "tsm_screen.h"
#include "tsm_vte.h"

View File

@ -1230,7 +1230,7 @@ int wlt_display_register_cb(struct wlt_display *disp,
if (!disp)
return -EINVAL;
return shl_hook_add_cast(disp->listeners, cb, data);
return shl_hook_add_cast(disp->listeners, cb, data, false);
}
void wlt_display_unregister_cb(struct wlt_display *disp,