Code beautification in ag_chart_load_from_file()
This commit is contained in:
parent
e745312ffe
commit
4e5b649173
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user