diff --git a/gtk/filter.c b/gtk/filter.c index aa668856c..0ae5f8a5e 100644 --- a/gtk/filter.c +++ b/gtk/filter.c @@ -163,7 +163,7 @@ category_filter_model_update( GtkTreeStore * store ) char * key; gtr_get_host_from_url( buf, sizeof( buf ), inf->trackers[i].announce ); - key = g_string_chunk_insert( strings, buf ); + key = g_string_chunk_insert_const( strings, buf ); count = g_hash_table_lookup( hosts_hash, key ); if( count == NULL )