summaryrefslogtreecommitdiff
path: root/new/unix/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/unix/window.c')
-rw-r--r--new/unix/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/unix/window.c b/new/unix/window.c
index c030d87..039feb7 100644
--- a/new/unix/window.c
+++ b/new/unix/window.c
@@ -15,7 +15,7 @@ static gboolean onClosing(GtkWidget *win, GdkEvent *e, gpointer data)
struct window *w = (struct window *) data;
// return exact values just in case
- if ((*(w->onClosing))(w, w->onClosingData))
+ if ((*(w->onClosing))(uiWindow(w), w->onClosingData))
return FALSE;
return TRUE;
}