]> Pileus Git - grits/commit
Lock draw_queue id to prevent race conditions
authorAndy Spencer <andy753421@gmail.com>
Wed, 2 Jan 2013 10:27:25 +0000 (10:27 +0000)
committerAndy Spencer <andy753421@gmail.com>
Wed, 2 Jan 2013 10:27:25 +0000 (10:27 +0000)
commit8941c8e6e06588d43732645e6af3feb959f1eb41
tree968150f4021cb2ada1ec23e2ee6cfe99e1908400
parentef7f210460467324ba3707c6892f44be7f1fe939
Lock draw_queue id to prevent race conditions

On Windows, the main loop runs right after the idle source is added.
This causes the callback queue_draw function to assign a dead ID which
leads to the viewer never refreshing.
src/grits-viewer.c
src/grits-viewer.h