Commit 7da1601b authored by Cosimo Cecchi's avatar Cosimo Cecchi

Check for NULL when sorting columns

Check for a NULL value of the order array when sorting the columns.
This might help when dealing with strange GConf setup issues (#524341).
parent 3b5af96a
......@@ -250,6 +250,10 @@ GList *
nautilus_sort_columns (GList *columns,
char **column_order)
{
if (!column_order) {
return NULL;
}
return g_list_sort_with_data (columns,
(GCompareDataFunc)column_compare,
column_order);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment