Changed ag_chart_save_to_file() prototype to a more sane one

This commit is contained in:
Gergely Polonkai 2013-09-18 10:06:12 +02:00
parent 160339d888
commit 573f05ceb4
2 changed files with 6 additions and 2 deletions

View File

@ -371,3 +371,8 @@ ag_chart_load_from_file(GFile *file, GError **err)
return chart; return chart;
} }
void
ag_chart_save_to_file(AgChart *chart, GFile *file, GError **err)
{
}

View File

@ -34,8 +34,7 @@ struct _AgChartClass {
GType ag_chart_get_type(void) G_GNUC_CONST; 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_new_full(GsweTimestamp *timestamp, gdouble longitude, gdouble latitude, gdouble altitude, GsweHouseSystem house_system);
AgChart *ag_chart_load_from_file(GFile *file, GError **err); AgChart *ag_chart_load_from_file(GFile *file, GError **err);
void ag_chart_save_to_file(AgChart *chart, GFile *file, GError **err);
void ag_chart_save_to_file(const gchar *path, GError **err);
void ag_chart_set_name(AgChart *chart, const gchar *name); void ag_chart_set_name(AgChart *chart, const gchar *name);
gchar *ag_chart_get_name(AgChart *chart); gchar *ag_chart_get_name(AgChart *chart);