gswe_moment_set_timestamp() now increases revision, as it should be

This commit is contained in:
Gergely Polonkai 2013-09-11 03:34:43 +02:00
parent 4cd286d83f
commit 4136e9452b
1 changed files with 1 additions and 0 deletions

View File

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