Commit 4a09d0cf authored by Ting-Wei Lan's avatar Ting-Wei Lan

Fix return value error in g_list_store_sort

parent f14e2e5c
......@@ -334,7 +334,7 @@ g_list_store_sort (GListStore *store,
gint n_items;
g_return_if_fail (G_IS_LIST_STORE (store));
g_return_val_if_fail (compare_func != NULL, 0);
g_return_if_fail (compare_func != NULL);
g_sequence_sort (store->items, compare_func, user_data);
......
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