commit | 35c07fe40d7b18e19f6ef0f5615f9f5ac8195cf7 | [log] [tgz] |
---|---|---|
author | Fabio D'Urso <fabiodurso@hotmail.it> | Tue Oct 09 15:24:02 2012 +0200 |
committer | Carlos Garcia Campos <carlosgc@gnome.org> | Tue Oct 16 14:25:40 2012 +0200 |
tree | 5ba6f7954337f59de6f5811fe4141cdf5660ad9e | |
parent | 2127a977bbe9985aa58561116508ad4f08430a2c [diff] |
AnnotWidget: Avoid repeatedly deleting and creating xref entries for appearance streams Previously updating the appearance stream always involved deleting the old stream's xref entry and creating a new one. Since xref entry deletion causes the generation number to be incremented, this behavior caused the generation number to quickly rise during user input. This patch stops it by reusing the same entry as the old appearance stream in case of repeated modifications.