Fix crash in window-level.c on_destroy()

This commit is contained in:
Geoffrey D. Bennett
2024-07-03 02:45:45 +09:30
parent 0187698826
commit abdb7f40f5

View File

@@ -71,7 +71,7 @@ static GtkWidget *add_count_label(GtkGrid *grid, int count) {
return l;
}
static void on_destroy(GtkWidget *widget, struct levels *data) {
static void on_destroy(struct levels *data, GtkWidget *widget) {
if (data->timer)
g_source_remove(data->timer);