diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-01-08 00:02:10 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-01-08 00:02:10 +0100 |
commit | ac690d1d295ec27f4c01064bd692d521c7f8b363 (patch) | |
tree | dee98dc758ef05e9a1b3fc2ee3e9211e68e6ba7e /src | |
parent | a606e838fdddb589211b3271bbdee47e8834362a (diff) | |
download | uGFX-ac690d1d295ec27f4c01064bd692d521c7f8b363.tar.gz uGFX-ac690d1d295ec27f4c01064bd692d521c7f8b363.tar.bz2 uGFX-ac690d1d295ec27f4c01064bd692d521c7f8b363.zip |
destroy routine of frame widget deregisters button callbacks
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/frame.c | 1 |
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); |