Code beautification in ag_chart_load_from_file()

This commit is contained in:
Gergely Polonkai 2014-07-17 23:09:53 +02:00
parent e745312ffe
commit 4e5b649173

View File

@ -561,28 +561,28 @@ AgChart *
ag_chart_load_from_file(GFile *file, GError **err)
{
AgChart *chart = NULL;
gchar *uri;
gchar *xml = NULL;
gchar *name;
gchar *country_name;
gchar *city_name;
gchar *uri,
*xml = NULL,
*name,
*country_name,
*city_name;
gsize length;
xmlDocPtr doc;
xmlXPathContextPtr xpath_context;
GVariant *chart_name;
GVariant *country;
GVariant *city;
GVariant *longitude;
GVariant *latitude;
GVariant *altitude;
GVariant *year;
GVariant *month;
GVariant *day;
GVariant *hour;
GVariant *minute;
GVariant *second;
GVariant *timezone;
GVariant *note;
GVariant *chart_name,
*country,
*city,
*longitude,
*latitude,
*altitude,
*year,
*month,
*day,
*hour,
*minute,
*second,
*timezone,
*note;
GsweTimestamp *timestamp;
gboolean found_error = FALSE;