Add a populated parameter to ag_db_chart_save_new()

If the caller intends to fill the whole struct, this should be set to TRUE
This commit is contained in:
2014-09-27 23:04:17 +02:00
parent 6656f52959
commit 2177ac2c41
4 changed files with 16 additions and 6 deletions

View File

@@ -1997,7 +1997,7 @@ ag_chart_get_db_save(AgChart *chart, gint db_id)
{
GsweCoordinates *coords;
AgChartPrivate *priv = ag_chart_get_instance_private(chart);
AgDbChartSave *save_data = ag_db_chart_save_new();
AgDbChartSave *save_data = ag_db_chart_save_new(TRUE);
GsweTimestamp *timestamp = gswe_moment_get_timestamp(GSWE_MOMENT(chart));
GEnumClass *house_system_class;
GEnumValue *house_system_enum;