summaryrefslogtreecommitdiff
path: root/new/window_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-08 01:16:22 -0400
committerPietro Gagliardi <[email protected]>2015-04-08 01:16:22 -0400
commitd37bc67158228e75dc4f47cf445c771a890fb35a (patch)
tree34d3dc791b7eb46eb1658b22c630105792ee8af1 /new/window_unix.c
parentf5c8bdd4b3fb089370f3cc41a742b3385289efe1 (diff)
Cleaned up memory leaks in the GTK+ backend.
Diffstat (limited to 'new/window_unix.c')
-rw-r--r--new/window_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/window_unix.c b/new/window_unix.c
index 3d6f8e7..293fa51 100644
--- a/new/window_unix.c
+++ b/new/window_unix.c
@@ -8,7 +8,7 @@ struct uiWindow {
void *onClosingData;
};
-static void onDestroy(GtkWindow *window, gpointer data)
+static void onDestroy(GtkWidget *widget, gpointer data)
{
uiWindow *w = (uiWindow *) data;