destroy routine of frame widget deregisters button callbacks
This commit is contained in:
parent
789765ddad
commit
a606e838fd
1 changed files with 2 additions and 3 deletions
|
@ -33,9 +33,8 @@ void gwinFrameDraw_Std(GWidgetObject *gw, void *param);
|
||||||
static void _callbackBtn(void *param, GEvent *pe);
|
static void _callbackBtn(void *param, GEvent *pe);
|
||||||
|
|
||||||
static void _frameDestroy(GHandle gh) {
|
static void _frameDestroy(GHandle gh) {
|
||||||
/* Detach all button sources */
|
/* Deregister the button callback */
|
||||||
// ToDo
|
geventRegisterCallback(&gh2obj->gl, NULL, NULL);
|
||||||
//geventDetachSource(&gh2obj->gl, NULL);
|
|
||||||
|
|
||||||
/* call the gwidget standard destroy routine */
|
/* call the gwidget standard destroy routine */
|
||||||
_gwidgetDestroy(gh);
|
_gwidgetDestroy(gh);
|
||||||
|
|
Loading…
Add table
Reference in a new issue