Commit 657a2661 authored by Michael Natterer's avatar Michael Natterer 😴

app: fix saving of the settings' timestamp in color tool config classes

we override serialize_property() and are responsible for doing it
ourselves.
parent 82d7e5a9
......@@ -219,6 +219,9 @@ gimp_color_balance_config_serialize (GimpConfig *config,
GimpTransferMode old_range;
gboolean success = TRUE;
if (! gimp_config_serialize_property_by_name (config, "time", writer))
return FALSE;
old_range = bc_config->range;
for (range = GIMP_SHADOWS; range <= GIMP_HIGHLIGHTS; range++)
......
......@@ -229,6 +229,9 @@ gimp_curves_config_serialize (GimpConfig *config,
GimpHistogramChannel old_channel;
gboolean success = TRUE;
if (! gimp_config_serialize_property_by_name (config, "time", writer))
return FALSE;
old_channel = c_config->channel;
for (channel = GIMP_HISTOGRAM_VALUE;
......
......@@ -217,6 +217,9 @@ gimp_hue_saturation_config_serialize (GimpConfig *config,
GimpHueRange old_range;
gboolean success = TRUE;
if (! gimp_config_serialize_property_by_name (config, "time", writer))
return FALSE;
old_range = hs_config->range;
for (range = GIMP_ALL_HUES; range <= GIMP_MAGENTA_HUES; range++)
......
......@@ -247,6 +247,9 @@ gimp_levels_config_serialize (GimpConfig *config,
GimpHistogramChannel old_channel;
gboolean success = TRUE;
if (! gimp_config_serialize_property_by_name (config, "time", writer))
return FALSE;
old_channel = l_config->channel;
for (channel = GIMP_HISTOGRAM_VALUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment