aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/frame.c')
-rw-r--r--src/gwin/frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gwin/frame.c b/src/gwin/frame.c
index 9ba432f5..fbef54dc 100644
--- a/src/gwin/frame.c
+++ b/src/gwin/frame.c
@@ -35,6 +35,7 @@ static void _callbackBtn(void *param, GEvent *pe);
static void _frameDestroy(GHandle gh) {
/* Deregister the button callback */
geventRegisterCallback(&gh2obj->gl, NULL, NULL);
+ geventDetachSource(&gh2obj->gl, NULL);
/* call the gwidget standard destroy routine */
_gwidgetDestroy(gh);