summaryrefslogtreecommitdiff
path: root/new/unix/window.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-15 23:14:36 -0400
committerPietro Gagliardi <[email protected]>2015-04-15 23:14:36 -0400
commit7b46c7de561a90c658115da03e86ece38f3f6065 (patch)
tree40d6f78c7784e35c5b2a2b47eb2f6d7cca90029d /new/unix/window.c
parent0c73a7fb80e0fc59f1fbde07053bd55fe03dd3cc (diff)
Fixed build warnings. More TODOs.
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;
}