summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-01 19:20:09 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-08-01 23:13:49 +0200
commita06854ca6ee2b2d6d386bcbf4dfceb7bb61dfe96 (patch)
tree1691134f371a72efc4844b2293505417ee745746 /applets/clock
parent04e977defeb858ac58ab3d470ec735ec0e2ea922 (diff)
downloadmate-panel-a06854ca6ee2b2d6d386bcbf4dfceb7bb61dfe96.tar.bz2
mate-panel-a06854ca6ee2b2d6d386bcbf4dfceb7bb61dfe96.tar.xz
clock: assignment to 'GSList *' from incompatible pointer type 'GList *'
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock.c4
1 files changed, 2 insertions, 2 deletions
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;