simon-git: putty (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Aug 9 10:04:09 BST 2015
TL;DR:
7859211 Use gtkcompat.h to slim down a few ifdefs.
Repository: git://git.tartarus.org/simon/putty.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-08-09 10:04:09
commit 78592116a5297991135ef2a4c0efd0173a665379
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=78592116a5297991135ef2a4c0efd0173a665379;hp=5fa22495c70412442b48981d08c53b7895068d13
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Aug 9 09:59:25 2015 +0100
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 | 2 ++
unix/gtkdlg.c | 4 ----
unix/gtkfont.c | 4 +---
unix/gtkwin.c | 7 +------
4 files changed, 4 insertions(+), 13 deletions(-)
More information about the tartarus-commits
mailing list