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