~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deactivate the timer when we destroy the puzzle window. Otherwise it
[sgt/puzzles]
/
gtk.c
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();
}