From: Paul Mackerras Date: Sun, 18 May 2008 23:48:45 +0000 (+1000) Subject: gitk: Fix "wrong # coordinates" error on reload X-Git-Tag: v1.5.6-rc0~20^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/94503a66c56c935e77a8fbe3622f1f56b7134ccc?ds=inline;hp=94503a66c56c935e77a8fbe3622f1f56b7134ccc gitk: Fix "wrong # coordinates" error on reload This fixes the Tk error "wrong # coordinates: expected 0 or 4, got 2" that sometimes occurred when reloading. The problem was that we didn't unset the variables containing the canvas item id numbers for the displayed rows when we cleared the canvases. Thus make_secsel would think it had something to do when it didn't. Thanks to Michele Ballabio for finding a way to trigger the bug reliably. Signed-off-by: Paul Mackerras ---