aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_list.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-12-31 00:12:25 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-31 00:12:25 +0000
commit6d24b27606da5b9a86bb13d3de3bd195d249a757 (patch)
tree698e03431bf5a15d2c7c91e9e24f074b23da6c5b /gtk/packet_list.c
parent3ae6f28d3f592e4a09c7d3499dfc51354d65d0c2 (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 'gtk/packet_list.c')
-rw-r--r--gtk/packet_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c
index b79f6ceaab..84fcd32446 100644
--- a/gtk/packet_list.c
+++ b/gtk/packet_list.c
@@ -610,7 +610,7 @@ packet_list_moveto_end(void)
}
gint
-packet_list_append(gchar *text[], gpointer data)
+packet_list_append(const gchar *text[], gpointer data)
{
gint row;