Fix preview drawing broken by resetting "Gathering" mode after painting.
commit63789e99119524c61770eaa09587f9295af2facd
authorPeter Clifton <pcjc2@cam.ac.uk>
Tue, 21 Oct 2008 23:28:40 +0000 (21 23:28 +0000)
committerPeter Clifton <pcjc2@cam.ac.uk>
Tue, 21 Oct 2008 23:28:40 +0000 (21 23:28 +0000)
tree9eed55e94c00fbac6a4e7379f0ffbff1450e1482
parent17b914809243128dce6a2a5f8b2bce4010765a08
Fix preview drawing broken by resetting "Gathering" mode after painting.

Seems that the pinout preview widget relied on the bug fixed in commit
0647d028e6c755715d2fcdbd0b4f2be73d36ae7f. In the expose handler of the
preview, We should be calling the hid_expose_callback() function rather
than DrawElement() directly.
src/hid/gtk/gui-pinout-preview.c