diff options
author | rbuj <[email protected]> | 2020-07-22 21:17:20 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2020-08-01 00:23:57 -0400 |
commit | 04e977defeb858ac58ab3d470ec735ec0e2ea922 (patch) | |
tree | 32dbb9446743cd0c1c416c279687e8b2d1ce6288 /applets/clock/clock-location.c | |
parent | 1d14ccccc6a44b348a0e166a947388d41a411e64 (diff) | |
download | mate-panel-04e977defeb858ac58ab3d470ec735ec0e2ea922.tar.bz2 mate-panel-04e977defeb858ac58ab3d470ec735ec0e2ea922.tar.xz |
clock: Use single-linked lists for locations
Diffstat (limited to 'applets/clock/clock-location.c')
-rw-r--r-- | applets/clock/clock-location.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock-location.c b/applets/clock/clock-location.c index a983872c..1808c0dd 100644 --- a/applets/clock/clock-location.c +++ b/applets/clock/clock-location.c @@ -67,7 +67,7 @@ static void setup_weather_updates (ClockLocation *loc); static gchar *clock_location_get_valid_weather_code (const gchar *code); ClockLocation * -clock_location_find_and_ref (GList *locations, +clock_location_find_and_ref (GSList *locations, const gchar *name, const gchar *city, const gchar *timezone, @@ -75,7 +75,7 @@ clock_location_find_and_ref (GList *locations, gfloat longitude, const gchar *code) { - GList *l; + GSList *l; ClockLocationPrivate *priv; for (l = locations; l != NULL; l = l->next) { |