gswe_moment_set_timestamp() now increases revision, as it should be
This commit is contained in:
parent
4cd286d83f
commit
4136e9452b
@ -218,6 +218,7 @@ gswe_moment_set_timestamp(GsweMoment *moment, GsweTimestamp *timestamp)
|
||||
g_clear_object(&moment->priv->timestamp);
|
||||
}
|
||||
|
||||
moment->priv->revision++;
|
||||
moment->priv->timestamp = timestamp;
|
||||
g_object_ref(timestamp);
|
||||
g_signal_connect(G_OBJECT(timestamp), "changed", G_CALLBACK(gswe_moment_timestamp_changed), moment);
|
||||
|
Loading…
Reference in New Issue
Block a user