aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/rtp_analysis.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/rtp_analysis.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/rtp_analysis.c')
-rw-r--r--gtk/rtp_analysis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/rtp_analysis.c b/gtk/rtp_analysis.c
index 10938f6a42..246d732bb8 100644
--- a/gtk/rtp_analysis.c
+++ b/gtk/rtp_analysis.c
@@ -3065,8 +3065,8 @@ static gint rtp_sort_column(GtkCList *clist, gconstpointer ptr1, gconstpointer p
int i1, i2;
double f1, f2;
- const GtkCListRow *row1 = (GtkCListRow *) ptr1;
- const 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;