(trunk gtk) minor janitorial: const correctness in tr-core's compare_by_name()

This commit is contained in:
Jordan Lee 2011-04-11 16:27:41 +00:00
parent d25735dd9f
commit 4ce3555786
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ compare_time( time_t a, time_t b )
static int
compare_by_name( GtkTreeModel * m, GtkTreeIter * a, GtkTreeIter * b, gpointer user_data UNUSED )
{
char *ca, *cb;
const char *ca, *cb;
gtk_tree_model_get( m, a, MC_NAME_COLLATED, &ca, -1 );
gtk_tree_model_get( m, b, MC_NAME_COLLATED, &cb, -1 );
return tr_strcmp0( ca, cb );