simon-git: puzzles (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Dec 6 16:01:00 GMT 2015
TL;DR:
7000b0c Implement align_label for GTK 3.[14,16).
Repository: git://git.tartarus.org/simon/puzzles.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-12-06 16:01:00
commit 7000b0c70a409afc427b3012d55366577dc0418e
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=7000b0c70a409afc427b3012d55366577dc0418e;hp=346584bf6e38232be8773c24fd7dedcbd7b3d9ed
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 6 16:00:10 2015 +0000
Implement align_label for GTK 3.[14,16).
gtk_misc_set_alignment was deprecated in GTK 3.14. But my replacement
code using gtk_label_set_{x,y}align doesn't work there, because that
function wasn't introduced until GTK 3.16, so there are two minor
versions in the middle where a third strategy is needed.
(That middle strategy doesn't permit arbitrary float alignments, but
that's OK, bceause we only actually use multiples of 0.5.)
gtk.c | 7 +++++++
1 file changed, 7 insertions(+)
More information about the tartarus-commits
mailing list