Add function ag_chart_get_planets()

This commit is contained in:
Gergely Polonkai 2014-06-15 10:00:07 +02:00
parent a6a5eff641
commit 70d38a379d
2 changed files with 7 additions and 0 deletions

View File

@ -931,6 +931,12 @@ ag_chart_create_svg(AgChart *chart, gsize *length, GError **err)
return save_content;
}
GList *
ag_chart_get_planets(AgChart *chart)
{
return chart->priv->planet_list;
}
void
ag_chart_export_svg_to_file(AgChart *chart, GFile *file, GError **err)
{

View File

@ -59,6 +59,7 @@ gchar *ag_chart_get_city(AgChart *chart);
gchar *ag_chart_create_svg(AgChart *chart,
gsize *length,
GError **err);
GList *ag_chart_get_planets(AgChart *chart);
#define AG_CHART_ERROR (ag_chart_error_quark())
GQuark ag_chart_error_quark(void);