aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ansi_a_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-12-31 00:33:54 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-31 00:33:54 +0000
commite75910e7cbebd8259d23259de0587a02b89a4005 (patch)
tree11b3cf86f37d5e853c2ff468113b21cd579c55c0 /gtk/ansi_a_stat.c
parent4c0f806dc98d731bd05f85f9e9e90de35e9f32f4 (diff)
In column sort routines, make the row pointers "const" pointers, as the
arguments passed in corresponding to those pointers are gconstpointers. svn path=/trunk/; revision=12884
Diffstat (limited to 'gtk/ansi_a_stat.c')
-rw-r--r--gtk/ansi_a_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ansi_a_stat.c b/gtk/ansi_a_stat.c
index 6cc9feeef9..5f1d000523 100644
--- a/gtk/ansi_a_stat.c
+++ b/gtk/ansi_a_stat.c
@@ -235,8 +235,8 @@ ansi_a_stat_gtk_sort_column(
gconstpointer ptr1,
gconstpointer ptr2)
{
- GtkCListRow *row1 = (GtkCListRow *) ptr1;
- GtkCListRow *row2 = (GtkCListRow *) ptr2;
+ const GtkCListRow *row1 = ptr1;
+ const GtkCListRow *row2 = ptr2;
char *text1 = NULL;
char *text2 = NULL;
int i1, i2;