summaryrefslogtreecommitdiff
path: root/libgweather/test_metar.c
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2011-04-05 21:36:32 +0200
committerJavier Jardón <jjardon@gnome.org>2012-03-09 17:37:26 +0000
commit7d32d907d0997d8dbdafc08ca807f132820660e3 (patch)
tree77349e2f17e1550aea95fd36385d4356280ddf54 /libgweather/test_metar.c
parent0729a784672e2a26fe19185c01562798039eb926 (diff)
downloadlibgweather-7d32d907d0997d8dbdafc08ca807f132820660e3.tar.gz
Port to GSettings
Kill GWeatherPrefs and GWeatherGConf, as it is very easy to just construct a GSettings object. Make GWeatherInfo use a default settings object for its string methods. Make GWeatherLocation serializable to a GVariant and store that in the settings, killing WeatherLocation. https://bugzilla.gnome.org/show_bug.cgi?id=646854
Diffstat (limited to 'libgweather/test_metar.c')
-rw-r--r--libgweather/test_metar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgweather/test_metar.c b/libgweather/test_metar.c
index 3ab2ace..3ecad6d 100644
--- a/libgweather/test_metar.c
+++ b/libgweather/test_metar.c
@@ -60,7 +60,6 @@ main (int argc, char **argv)
info = g_object_new (GWEATHER_TYPE_INFO, NULL);
info->priv->valid = 1;
metar_parse (buf, info);
- gweather_info_to_metric (info);
printf ("Returned info:\n");
printf (" update: %s", ctime (&info->priv->update));
printf (" sky: %s\n", gweather_info_get_sky (info));