~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b5c6b1
)
Deactivate the timer when we destroy the puzzle window. Otherwise it
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 1 Sep 2004 11:46:51 +0000
(11:46 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 1 Sep 2004 11:46:51 +0000
(11:46 +0000)
might run again in mid-shutdown and cause chaos, if you hit `q' in
the middle of an animated sequence such as the Net finishing flash.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4525
cda61777
-01e9-0310-a592-
d414129be87e
gtk.c
patch
|
blob
|
blame
|
history
diff --git
a/gtk.c
b/gtk.c
index
b2655b1
..
9643d19
100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-415,6
+415,8
@@
void activate_timer(frontend *fe)
static void window_destroy(GtkWidget *widget, gpointer data)
{
+ frontend *fe = (frontend *)data;
+ deactivate_timer(fe);
gtk_main_quit();
}