]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Use gtkcompat.h to slim down a few ifdefs.
authorSimon Tatham <anakin@pobox.com>
Sun, 9 Aug 2015 08:59:25 +0000 (09:59 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 9 Aug 2015 08:59:25 +0000 (09:59 +0100)
commit78592116a5297991135ef2a4c0efd0173a665379
treeb96c3987376607b90678c531c5b3e107cc937a01
parent5fa22495c70412442b48981d08c53b7895068d13
Use gtkcompat.h to slim down a few ifdefs.

Now that I've got a general place to centralise handling of at least
the simple differences between GTK 1 and 2, I should use it wherever
possible. So this commit removes just a small number of ifdefs which
are either obsoleted by definitions already in gtkcompat.h (like
set_size_request vs set_usize), or can easily be replaced by adding
another (e.g. gtk_color_selection_set_has_opacity_control).
unix/gtkcompat.h
unix/gtkdlg.c
unix/gtkfont.c
unix/gtkwin.c