summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-12-13 11:47:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-12-13 11:47:12 +0100
commit2e74526bb9691389160b8174a69f272c4c3fc1e2 (patch)
tree8f27fee7f436113971d5deaf1dfb40f8b742ac87 /src/gui
parent7a8fb5b2da202562b67c81fd9f08a731ba3eb024 (diff)
downloadweechat-2e74526bb9691389160b8174a69f272c4c3fc1e2.zip
Renamed hook "event" to "signal"
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index 390eca487..c88c38f30 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -174,7 +174,7 @@ gui_buffer_new (void *plugin, char *category, char *name,
gui_window_redraw_buffer (new_buffer);
}
- (void) hook_event_exec ("buffer_open", new_buffer);
+ hook_signal_exec ("buffer_open", new_buffer);
}
else
return NULL;
@@ -582,7 +582,7 @@ gui_buffer_free (struct t_gui_buffer *buffer, int switch_to_another)
struct t_gui_buffer *ptr_buffer;
struct t_gui_line *ptr_line;
- (void) hook_event_exec ("buffer_close", buffer);
+ hook_signal_exec ("buffer_close", buffer);
if (switch_to_another)
{
@@ -888,7 +888,7 @@ gui_buffer_move_to_number (struct t_gui_buffer *buffer, int number)
argv[0] = buf1_str;
argv[1] = buf2_str;
/* TODO: send buffer_move event */
- /*(void) plugin_event_handler_exec ("buffer_move", 2, argv);*/
+ /*plugin_event_handler_exec ("buffer_move", 2, argv);*/
}
/*