destroy routine of frame widget deregisters button callbacks
This commit is contained in:
parent
a606e838fd
commit
ac690d1d29
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue