From 573f05ceb4cdf8bea40af55293d4c8efd2fb1851 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Wed, 18 Sep 2013 10:06:12 +0200 Subject: [PATCH] Changed ag_chart_save_to_file() prototype to a more sane one --- src/ag-chart.c | 5 +++++ src/ag-chart.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ag-chart.c b/src/ag-chart.c index d1c1be6..1fd96ef 100644 --- a/src/ag-chart.c +++ b/src/ag-chart.c @@ -371,3 +371,8 @@ ag_chart_load_from_file(GFile *file, GError **err) return chart; } +void +ag_chart_save_to_file(AgChart *chart, GFile *file, GError **err) +{ +} + diff --git a/src/ag-chart.h b/src/ag-chart.h index 66f3cc3..c8377a7 100644 --- a/src/ag-chart.h +++ b/src/ag-chart.h @@ -34,8 +34,7 @@ struct _AgChartClass { GType ag_chart_get_type(void) G_GNUC_CONST; AgChart *ag_chart_new_full(GsweTimestamp *timestamp, gdouble longitude, gdouble latitude, gdouble altitude, GsweHouseSystem house_system); AgChart *ag_chart_load_from_file(GFile *file, GError **err); - -void ag_chart_save_to_file(const gchar *path, GError **err); +void ag_chart_save_to_file(AgChart *chart, GFile *file, GError **err); void ag_chart_set_name(AgChart *chart, const gchar *name); gchar *ag_chart_get_name(AgChart *chart);