summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-12-17 17:34:45 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-12-17 17:34:45 +0100
commitf0b81813953897e66cfe1ed5bd4b545111efe2e4 (patch)
tree5dfbd308ce3fd2bf8b84dd78fc47180c500b2122 /src/gui
parentbd3f554e0228e5aec087b07a269596b487f3a60f (diff)
downloadweechat-f0b81813953897e66cfe1ed5bd4b545111efe2e4.zip
core: add signal "buffer_line_added"
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-line.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index a27aa8bac..9468ab8e2 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -951,6 +951,9 @@ gui_line_add (struct t_gui_buffer *buffer, time_t date,
}
}
+ hook_signal_send ("buffer_line_added",
+ WEECHAT_HOOK_SIGNAL_POINTER, new_line);
+
return new_line;
}