]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Remove a mysterious GTK size-request tweak.
authorSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 18:55:38 +0000 (19:55 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 19:00:55 +0000 (20:00 +0100)
commit856a0ecc4a89ee113b54612b51678baca7af5d97
tree969b9349e0e2fb6e627bc7df2c5004817d2316f0
parent7193e930de5ed35439bf22d18215eb158d477c6f
Remove a mysterious GTK size-request tweak.

In shortcut_add(), when we add an underlined letter to a GtkLabel, we
were fetching the label's height before changing its text, and
restoring it afterwards. I've no idea why - I can see no difference
with and without the code.

That code's been there since 2003 without explanation. My best guess
is that it was working around a GTK bug of the day, but since no
difference is visible even in current GTK1, I think I'm just going to
remove it. If any problems show up later, I can put it back, with an
actual comment!
unix/gtkdlg.c