diff options
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 2b39622eb..6935fddb6 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -1372,8 +1372,9 @@ gui_window_switch_to_buffer (struct t_gui_window *window, if (old_buffer != buffer) { - (void) hook_signal_send ("buffer_switch", - WEECHAT_HOOK_SIGNAL_POINTER, buffer); + (void) gui_buffer_send_signal (buffer, + "buffer_switch", + WEECHAT_HOOK_SIGNAL_POINTER, buffer); } } |