]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
GTK3 port: replace size_request in the Columns layout class.
authorSimon Tatham <anakin@pobox.com>
Sun, 16 Aug 2015 13:16:08 +0000 (14:16 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 16 Aug 2015 13:50:48 +0000 (14:50 +0100)
commitaac9d5fcf7b32386a2b37845e5c58e85124d67cb
tree956889ae81492d0628dd6b502cda371f9e45fcac
parent59a232c1613c08a98d4a13238c0189f1b660e3e5
GTK3 port: replace size_request in the Columns layout class.

It's been replaced by a new pair of methods get_preferred_width and
get_preferred_height. For the moment, I've followed the porting
guide's suggestion of keeping the old size_request function as an
underlying implementation and having each of those methods just return
one of its outputs. The results are ugly, but it'll compile and run,
which is a start.
unix/gtkcols.c