diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:33:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-31 00:33:54 +0000 |
commit | e75910e7cbebd8259d23259de0587a02b89a4005 (patch) | |
tree | 11b3cf86f37d5e853c2ff468113b21cd579c55c0 /gtk/conversations_table.c | |
parent | 4c0f806dc98d731bd05f85f9e9e90de35e9f32f4 (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/conversations_table.c')
-rw-r--r-- | gtk/conversations_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c index b0cc269753..b79b0869da 100644 --- a/gtk/conversations_table.c +++ b/gtk/conversations_table.c @@ -265,8 +265,8 @@ ct_sort_column(GtkCList *clist, gconstpointer ptr1, gconstpointer ptr2) char *text2 = NULL; int i1, i2; - GtkCListRow *row1 = (GtkCListRow *) ptr1; - GtkCListRow *row2 = (GtkCListRow *) ptr2; + const GtkCListRow *row1 = ptr1; + const GtkCListRow *row2 = ptr2; text1 = GTK_CELL_TEXT (row1->cell[clist->sort_column])->text; text2 = GTK_CELL_TEXT (row2->cell[clist->sort_column])->text; |