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

we override serialize_property() and are responsible for doing it
ourselves.
This commit is contained in:
Michael Natterer 2012-04-02 11:49:22 +02:00
parent 82d7e5a91a
commit 657a2661b2
4 changed files with 12 additions and 0 deletions

View File

@ -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++)

View File

@ -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;

View File

@ -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++)

View File

@ -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;