~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd00b7
)
Move the deactivate_timer() call from window_destroy() into
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 6 Sep 2004 15:17:59 +0000
(15:17 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 6 Sep 2004 15:17:59 +0000
(15:17 +0000)
destroy(). I'm not sure how it cured the crash-on-quit bug, since it
was in completely the wrong place!
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4533
cda61777
-01e9-0310-a592-
d414129be87e
gtk.c
patch
|
blob
|
blame
|
history
diff --git
a/gtk.c
b/gtk.c
index
9643d19
..
72fdcdd
100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-231,6
+231,8
@@
void end_draw(frontend *fe)
static void destroy(GtkWidget *widget, gpointer data)
{
+ frontend *fe = (frontend *)data;
+ deactivate_timer(fe);
gtk_main_quit();
}
@@
-415,8
+417,6
@@
void activate_timer(frontend *fe)
static void window_destroy(GtkWidget *widget, gpointer data)
{
- frontend *fe = (frontend *)data;
- deactivate_timer(fe);
gtk_main_quit();
}