mirror of https://github.com/GNOME/gimp.git
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:
parent
82d7e5a91a
commit
657a2661b2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue