Add function ag_chart_get_planets()
This commit is contained in:
		| @@ -931,6 +931,12 @@ ag_chart_create_svg(AgChart *chart, gsize *length, GError **err) | |||||||
|     return save_content; |     return save_content; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | GList * | ||||||
|  | ag_chart_get_planets(AgChart *chart) | ||||||
|  | { | ||||||
|  |     return chart->priv->planet_list; | ||||||
|  | } | ||||||
|  |  | ||||||
| void | void | ||||||
| ag_chart_export_svg_to_file(AgChart *chart, GFile *file, GError **err) | ag_chart_export_svg_to_file(AgChart *chart, GFile *file, GError **err) | ||||||
| { | { | ||||||
|   | |||||||
| @@ -59,6 +59,7 @@ gchar *ag_chart_get_city(AgChart *chart); | |||||||
| gchar *ag_chart_create_svg(AgChart *chart, | gchar *ag_chart_create_svg(AgChart *chart, | ||||||
|                            gsize   *length, |                            gsize   *length, | ||||||
|                            GError  **err); |                            GError  **err); | ||||||
|  | GList *ag_chart_get_planets(AgChart *chart); | ||||||
|  |  | ||||||
| #define AG_CHART_ERROR (ag_chart_error_quark()) | #define AG_CHART_ERROR (ag_chart_error_quark()) | ||||||
| GQuark ag_chart_error_quark(void); | GQuark ag_chart_error_quark(void); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user