Fix instant-recalc property change handling
Despite the actual value, only the gswe_timestamp_calculate_all() was called.
This commit is contained in:
parent
efa7b7fab3
commit
34ded1881f
@ -385,7 +385,11 @@ gswe_timestamp_set_property(GObject *object,
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_INSTANT_RECALC:
|
||||
gswe_timestamp_calculate_all(timestamp, NULL);
|
||||
timestamp->priv->instant_recalc = g_value_get_boolean(value);
|
||||
|
||||
if (timestamp->priv->instant_recalc) {
|
||||
gswe_timestamp_calculate_all(timestamp, NULL);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user