[gnome-settings-daemon/ebassi/gweather-4: 10/11] plugins/datetime/weather-tz.c: Use g_object_ref() instead gweather_location_ref()
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/ebassi/gweather-4: 10/11] plugins/datetime/weather-tz.c: Use g_object_ref() instead gweather_location_ref()
- Date: Thu, 10 Feb 2022 17:03:01 +0000 (UTC)
commit f390e6e9d56ce7d3e3a725b8204d81c0b6240515
Author: Javier Jardón <jjardon gnome org>
Date: Tue Jan 4 00:50:17 2022 +0000
plugins/datetime/weather-tz.c: Use g_object_ref() instead gweather_location_ref()
plugins/datetime/weather-tz.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/datetime/weather-tz.c b/plugins/datetime/weather-tz.c
index b76a2b8c..f2d38d96 100644
--- a/plugins/datetime/weather-tz.c
+++ b/plugins/datetime/weather-tz.c
@@ -32,7 +32,7 @@ location_get_cities (GWeatherLocation *parent_location)
while ((child = gweather_location_next_child (parent_location, child))) {
if (gweather_location_get_level (child) == GWEATHER_LOCATION_CITY) {
- cities = g_list_prepend (cities, gweather_location_ref (child));
+ cities = g_list_prepend (cities, g_object_ref (child));
} else {
cities = g_list_concat (cities,
location_get_cities (child));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]