From 8cc575581753dbc08fd07a601595d37587724be2 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Tue, 17 Sep 2013 09:31:37 +0200 Subject: [PATCH] Renamed ret to chart in ag_chart_new() --- src/ag-chart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ag-chart.c b/src/ag-chart.c index 092c0ab..46f73f4 100644 --- a/src/ag-chart.c +++ b/src/ag-chart.c @@ -23,14 +23,14 @@ ag_chart_init(AgChart *chart) AgChart * ag_chart_new_full(GsweTimestamp *timestamp, gdouble longitude, gdouble latitude, gdouble altitude, GsweHouseSystem house_system) { - AgChart *ret; + AgChart *chart; GsweCoordinates *coords = g_new0(GsweCoordinates, 1); coords->longitude = longitude; coords->latitude = latitude; coords->altitude = altitude; - ret = AG_CHART(g_object_new(AG_TYPE_CHART, + chart = AG_CHART(g_object_new(AG_TYPE_CHART, "timestamp", timestamp, "coordinates", coords, "house-system", house_system, @@ -38,6 +38,6 @@ ag_chart_new_full(GsweTimestamp *timestamp, gdouble longitude, gdouble latitude, g_free(coords); - return ret; + return chart; }