From a06854ca6ee2b2d6d386bcbf4dfceb7bb61dfe96 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 1 Aug 2020 19:20:09 +0200 Subject: clock: assignment to 'GSList *' from incompatible pointer type 'GList *' --- applets/clock/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applets/clock') diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 4833be06..63c74cac 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -1177,8 +1177,8 @@ create_cities_section (ClockData *cd) } /* Copy the existing list, so we can sort it nondestructively */ - node = g_list_copy (cities); - node = g_list_sort (node, sort_locations_by_time_reverse_and_name); + node = g_slist_copy (cities); + node = g_slist_sort (node, sort_locations_by_time_reverse_and_name); for (l = node; l; l = g_slist_next (l)) { ClockLocation *loc = l->data; -- cgit v1.2.1