simon-git: puzzles (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Nov 25 00:50:44 GMT 2018


TL;DR:
  0a5d13b Fix GTK 2 crash introduced by previous commit.

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:           2018-11-25 00:50:44

commit 0a5d13bcd5e6a88418abaf528d9d529ced7dfb9c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=0a5d13bcd5e6a88418abaf528d9d529ced7dfb9c;hp=d9e03f50daffc37027a5c57c88c7fd4241a58782
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 25 00:46:48 2018 +0000

    Fix GTK 2 crash introduced by previous commit.
    
    Moving the snaffle_colours() call earlier is fine in GTK 3, where the
    potential call to frontend_default_colour doesn't depend on the window
    already having been created. But it falls over in GTK 2 where it does.
    
    Moved the non-headless-mode version of that call back to where it was
    before the --screenshot change.

 gtk.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list