From 61ca92972886cd7a9bc301ae7e23d6dde74920bc Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 22 Mar 2008 23:36:12 +0100 Subject: Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks --- src/plugins/demo/demo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/demo/demo.c') diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index 342d0bc68..02529c49e 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -147,8 +147,8 @@ demo_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, "buffer_input_data_cb: buffer = %x (%s / %s), " "input_data = '%s'", buffer, - weechat_buffer_get (buffer, "category"), - weechat_buffer_get (buffer, "name"), + weechat_buffer_get_string (buffer, "category"), + weechat_buffer_get_string (buffer, "name"), input_data); return WEECHAT_RC_OK; @@ -169,8 +169,8 @@ demo_buffer_close_cb (void *data, struct t_gui_buffer *buffer) weechat_printf (NULL, "buffer_close_cb: buffer = %x (%s / %s)", buffer, - weechat_buffer_get (buffer, "category"), - weechat_buffer_get (buffer, "name")); + weechat_buffer_get_string (buffer, "category"), + weechat_buffer_get_string (buffer, "name")); } return WEECHAT_RC_OK; -- cgit v1.2.3