mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-11 19:54:05 +02:00
Fix return value error in g_list_store_sort
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user