gtk: When setting format check if pending format changed
authorThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 13:52:40 +0000 (15:52 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 14:50:38 +0000 (16:50 +0200)
commit4807201b042fae599cc6a75454a1a0ca6585f240
tree802aef326961c645e261740ff1d06cb6da149115
parentbdcb8208eb0bcca3a426082359e6969472db3166
gtk: When setting format check if pending format changed

In case the format changed fast and the pending format is different
than the currently set but the currently set is equal to the pending
one we could end up having mismatch between the finally set format
and the data stream format.

https://bugzilla.gnome.org/show_bug.cgi?id=755542
ext/gtk/gtkgstbasewidget.c