summaryrefslogtreecommitdiff
path: root/src/fe-common/core/window-activity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/window-activity.c')
-rw-r--r--src/fe-common/core/window-activity.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fe-common/core/window-activity.c b/src/fe-common/core/window-activity.c
index ba3adb13..420261a0 100644
--- a/src/fe-common/core/window-activity.c
+++ b/src/fe-common/core/window-activity.c
@@ -26,13 +26,11 @@
#include "windows.h"
#include "window-items.h"
-static void sig_hilight_text(SERVER_REC *server, const char *channel, gpointer levelptr, const char *msg)
+static void sig_hilight_text(WINDOW_REC *window, SERVER_REC *server, const char *channel, gpointer levelptr, const char *msg)
{
- WINDOW_REC *window;
int level, oldlevel;
level = GPOINTER_TO_INT(levelptr);
- window = window_find_closest(server, channel, level);
if (window == active_win || (level & (MSGLEVEL_NEVER|MSGLEVEL_NO_ACT|MSGLEVEL_MSGS)))
return;