diff --git a/configure.ac b/configure.ac index c2e0835..d3ef969 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ IRSSI_INCLUDE=`cd $with_irssi; pwd` AC_SUBST(IRSSI_INCLUDE) -AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"], +AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config.h"], [AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)] ) diff --git a/src/core/icb-protocol.c b/src/core/icb-protocol.c index 23c5d06..1a7e4a5 100644 --- a/src/core/icb-protocol.c +++ b/src/core/icb-protocol.c @@ -340,8 +340,8 @@ static void sig_server_connected(ICB_SERVER_REC *server) return; server->readtag = - g_input_add(net_sendbuffer_handle(server->handle), - G_INPUT_READ, + i_input_add(net_sendbuffer_handle(server->handle), + I_INPUT_READ, (GInputFunction) icb_parse_incoming, server); }