destroy(). I'm not sure how it cured the crash-on-quit bug, since it
was in completely the wrong place!
[originally from svn r4533]
static void destroy(GtkWidget *widget, gpointer data)
{
+ frontend *fe = (frontend *)data;
+ deactivate_timer(fe);
gtk_main_quit();
}
static void window_destroy(GtkWidget *widget, gpointer data)
{
- frontend *fe = (frontend *)data;
- deactivate_timer(fe);
gtk_main_quit();
}