diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:12:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:12:25 +0000 |
commit | 6d24b27606da5b9a86bb13d3de3bd195d249a757 (patch) | |
tree | 698e03431bf5a15d2c7c91e9e24f074b23da6c5b /ui_util.h | |
parent | 3ae6f28d3f592e4a09c7d3499dfc51354d65d0c2 (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=12880
Diffstat (limited to 'ui_util.h')
-rw-r--r-- | ui_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ void packet_list_freeze(void); void packet_list_thaw(void); void packet_list_select_row(gint); void packet_list_moveto_end(void); -gint packet_list_append(gchar *text[], gpointer data); +gint packet_list_append(const gchar *text[], gpointer data); void packet_list_set_colors(gint, color_t *, color_t *); gint packet_list_find_row_from_data(gpointer); void packet_list_set_text(gint, gint, const gchar *); |