aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin.c')
-rw-r--r--src/gwin/gwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index 33637d89..d7fb5726 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -109,7 +109,7 @@ void gwinDestroyWindow(GHandle gh) {
chHeapFree((void *)((GButtonObject *)gh)->txt);
}
geventDetachSource(&((GButtonObject *)gh)->listener, 0);
- geventDetachSourceListeners((GSourceHandle *)gh);
+ geventDetachSourceListeners((GSourceHandle)gh);
break;
#endif
default: