mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-23 15:49:16 +02:00
Fix return value error in g_list_store_sort
This commit is contained in:
parent
f14e2e5c53
commit
4a09d0cf7a
@ -334,7 +334,7 @@ g_list_store_sort (GListStore *store,
|
|||||||
gint n_items;
|
gint n_items;
|
||||||
|
|
||||||
g_return_if_fail (G_IS_LIST_STORE (store));
|
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);
|
g_sequence_sort (store->items, compare_func, user_data);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user