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:
@ -219,6 +219,9 @@ gimp_color_balance_config_serialize (GimpConfig *config,
|
|||||||
GimpTransferMode old_range;
|
GimpTransferMode old_range;
|
||||||
gboolean success = TRUE;
|
gboolean success = TRUE;
|
||||||
|
|
||||||
|
if (! gimp_config_serialize_property_by_name (config, "time", writer))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
old_range = bc_config->range;
|
old_range = bc_config->range;
|
||||||
|
|
||||||
for (range = GIMP_SHADOWS; range <= GIMP_HIGHLIGHTS; range++)
|
for (range = GIMP_SHADOWS; range <= GIMP_HIGHLIGHTS; range++)
|
||||||
|
@ -229,6 +229,9 @@ gimp_curves_config_serialize (GimpConfig *config,
|
|||||||
GimpHistogramChannel old_channel;
|
GimpHistogramChannel old_channel;
|
||||||
gboolean success = TRUE;
|
gboolean success = TRUE;
|
||||||
|
|
||||||
|
if (! gimp_config_serialize_property_by_name (config, "time", writer))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
old_channel = c_config->channel;
|
old_channel = c_config->channel;
|
||||||
|
|
||||||
for (channel = GIMP_HISTOGRAM_VALUE;
|
for (channel = GIMP_HISTOGRAM_VALUE;
|
||||||
|
@ -217,6 +217,9 @@ gimp_hue_saturation_config_serialize (GimpConfig *config,
|
|||||||
GimpHueRange old_range;
|
GimpHueRange old_range;
|
||||||
gboolean success = TRUE;
|
gboolean success = TRUE;
|
||||||
|
|
||||||
|
if (! gimp_config_serialize_property_by_name (config, "time", writer))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
old_range = hs_config->range;
|
old_range = hs_config->range;
|
||||||
|
|
||||||
for (range = GIMP_ALL_HUES; range <= GIMP_MAGENTA_HUES; range++)
|
for (range = GIMP_ALL_HUES; range <= GIMP_MAGENTA_HUES; range++)
|
||||||
|
@ -247,6 +247,9 @@ gimp_levels_config_serialize (GimpConfig *config,
|
|||||||
GimpHistogramChannel old_channel;
|
GimpHistogramChannel old_channel;
|
||||||
gboolean success = TRUE;
|
gboolean success = TRUE;
|
||||||
|
|
||||||
|
if (! gimp_config_serialize_property_by_name (config, "time", writer))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
old_channel = l_config->channel;
|
old_channel = l_config->channel;
|
||||||
|
|
||||||
for (channel = GIMP_HISTOGRAM_VALUE;
|
for (channel = GIMP_HISTOGRAM_VALUE;
|
||||||
|
Reference in New Issue
Block a user