simon-git: puzzles (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Nov 13 19:32:44 GMT 2019


TL;DR:
  26a4078 .gitignore: add more autotools detritus.
  1c0c49d Make --screenshot work even in (Cairo) GTK2 builds.

Repository:     https://git.tartarus.org/simon/puzzles.git
On the web:     https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-11-13 19:32:44

commit 26a40781e6a3d64a32f8f98529b62917dd32d389
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=26a40781e6a3d64a32f8f98529b62917dd32d389;hp=907c42bcf0f06826279d5be91be7f7f9c45876d9
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Nov 13 19:27:41 2019 +0000

    .gitignore: add more autotools detritus.
    
    One of these days I should sit down and work out exactly when a run of
    autoconf generates an autom4te.cache directory, and why it can
    suddenly turn up unexpectedly one day after years of never needing to
    put it in .gitignore!

 .gitignore | 1 +
 1 file changed, 1 insertion(+)

commit 1c0c49dd5cd8df6ae87f7be5371be84589fa2662
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=1c0c49dd5cd8df6ae87f7be5371be84589fa2662;hp=26a40781e6a3d64a32f8f98529b62917dd32d389
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Nov 13 19:23:07 2019 +0000

    Make --screenshot work even in (Cairo) GTK2 builds.
    
    I had occasion recently to want to take a puzzle screenshot on a
    machine that didn't have the GTK3 libraries installed, but is advanced
    enough to build the GTK2+Cairo version of the puzzles. That _ought_ to
    be good enough to take screenshots using bare Cairo without GTK; I
    think the only reason why I didn't bother to support it before is
    because on GTK2, frontend_default_colours() queries the widget style
    to choose a shade of grey. But we have a fixed fallback shade of grey
    to use on GTK3, so it's easy to just use that same fallback in
    headless GTK2.

 gtk.c | 53 ++++++++++++++++++++++++++++++-----------------------
 1 file changed, 30 insertions(+), 23 deletions(-)



More information about the tartarus-commits mailing list