[libdazzle] shortcuts: use concat to join GSList links
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] shortcuts: use concat to join GSList links
- Date: Sat, 28 Jul 2018 03:56:10 +0000 (UTC)
commit 7bb5c5f5afd09e52265b516210f796f55c757619
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 27 20:54:34 2018 -0700
shortcuts: use concat to join GSList links
src/shortcuts/dzl-shortcut-closure-chain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/shortcuts/dzl-shortcut-closure-chain.c b/src/shortcuts/dzl-shortcut-closure-chain.c
index 3df9358..0fe242c 100644
--- a/src/shortcuts/dzl-shortcut-closure-chain.c
+++ b/src/shortcuts/dzl-shortcut-closure-chain.c
@@ -63,7 +63,7 @@ dzl_shortcut_closure_chain_append (DzlShortcutClosureChain *chain,
if (element == NULL)
return chain;
- ret = g_slist_append (&chain->node, &element->node)->data;
+ ret = g_slist_concat (&chain->node, &element->node)->data;
g_return_val_if_fail (DZL_IS_SHORTCUT_CLOSURE_CHAIN (ret), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]