From 8724fc18afa1d2702eeed9aa6e7d825d25cbda98 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 15 Nov 2008 22:35:12 +0100 Subject: Use of const for some functions returning "char *" --- src/gui/gui-buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/gui-buffer.h') diff --git a/src/gui/gui-buffer.h b/src/gui/gui-buffer.h index 756fd1181..0df4ab389 100644 --- a/src/gui/gui-buffer.h +++ b/src/gui/gui-buffer.h @@ -198,8 +198,8 @@ extern void gui_buffer_set_plugin_for_upgrade (char *name, struct t_weechat_plugin *plugin); extern int gui_buffer_get_integer (struct t_gui_buffer *buffer, const char *property); -extern char *gui_buffer_get_string (struct t_gui_buffer *buffer, - const char *property); +extern const char *gui_buffer_get_string (struct t_gui_buffer *buffer, + const char *property); extern void *gui_buffer_get_pointer (struct t_gui_buffer *buffer, const char *property); extern void gui_buffer_ask_chat_refresh (struct t_gui_buffer *buffer, -- cgit v1.2.3