From 0b2d6dd1240e7f30aa8ae9c59246eacfd21b85fb Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce.cowan@strath.ac.uk> Date: Sat, 4 Jan 2020 17:01:33 +0000 Subject: [PATCH] Fix sorting --- src/rugby-list-store.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rugby-list-store.c b/src/rugby-list-store.c index 5d3f431..d3bed91 100644 --- a/src/rugby-list-store.c +++ b/src/rugby-list-store.c @@ -41,11 +41,11 @@ sort_func (gconstpointer a, int atries, autries; int btries, butries; - g_object_get ((gpointer) a, + g_object_get (*((gpointer *) a), "tries", &atries, "utries", &autries, NULL); - g_object_get ((gpointer) b, + g_object_get (*((gpointer *) b), "tries", &btries, "utries", &butries, NULL); -- GitLab