[glib] Fix return value error in g_list_store_sort
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix return value error in g_list_store_sort
- Date: Tue, 1 Sep 2015 17:22:51 +0000 (UTC)
commit 4a09d0cf7a65cd08d4156eafd80e943712216d49
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Sep 2 01:19:40 2015 +0800
Fix return value error in g_list_store_sort
gio/gliststore.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gliststore.c b/gio/gliststore.c
index dff3958..7f8c02a 100644
--- a/gio/gliststore.c
+++ b/gio/gliststore.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]