diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-30 23:42:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-30 23:42:02 +0000 |
commit | 467e33d1b198ac1a2b0df8972407a4539eee430d (patch) | |
tree | b79f3ce6dec4ef037bc22908348d4f0e2a92b4f0 /gtk/packet_win.c | |
parent | 28bdc16f36bd26cc798cefab9c90b6e36ebca4ef (diff) |
Make the "col_data" field in a "column_info" structure a pointer to an
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
svn path=/trunk/; revision=12875
Diffstat (limited to 'gtk/packet_win.c')
-rw-r--r-- | gtk/packet_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/packet_win.c b/gtk/packet_win.c index 5d5dae16a5..427b4fe9d1 100644 --- a/gtk/packet_win.c +++ b/gtk/packet_win.c @@ -95,7 +95,7 @@ void new_window_cb(GtkWidget *w _U_) { #define NewWinTitleLen 1000 char Title[NewWinTitleLen] = ""; - char *TextPtr; + const char *TextPtr; gint tv_size = 95, bv_size = 75; GtkWidget *main_w, *main_vbox, *pane, *tree_view, *tv_scrollw, |