summaryrefslogtreecommitdiff
path: root/src/gui/gui-window.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
commit8724fc18afa1d2702eeed9aa6e7d825d25cbda98 (patch)
tree735f8d09799db47ff387129bb8613e940bb4fbf7 /src/gui/gui-window.h
parente1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff)
downloadweechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip
Use of const for some functions returning "char *"
Diffstat (limited to 'src/gui/gui-window.h')
-rw-r--r--src/gui/gui-window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-window.h b/src/gui/gui-window.h
index 6441b1033..db17b29b0 100644
--- a/src/gui/gui-window.h
+++ b/src/gui/gui-window.h
@@ -103,8 +103,8 @@ extern struct t_gui_window *gui_window_new (struct t_gui_window *parent,
extern int gui_window_valid (struct t_gui_window *window);
extern int gui_window_get_integer (struct t_gui_window *window,
const char *property);
-extern char *gui_window_get_string (struct t_gui_window *window,
- const char *property);
+extern const char *gui_window_get_string (struct t_gui_window *window,
+ const char *property);
extern void *gui_window_get_pointer (struct t_gui_window *window,
const char *property);
extern void gui_window_set_layout_plugin_name (struct t_gui_window *window,