+
+ /*
+ UGLY! UGLY! UGLY! Changes to wid->allocation are queued and
+ not performed until the GTK event loop. However, when the
+ fontlock progress bar is run, the vertical scrollbar's height
+ is change and then changed back before events are again
+ processed. This means that the change back is not seen and
+ the scrollbar is left too short. Fix this by making the
+ change manually so the test above sees the change. This does
+ not seem to cause problems in other cases.
+ */
+
+ wid->allocation.width = pos_data->scrollbar_width;
+ wid->allocation.height = pos_data->scrollbar_height;
+