static void _frameDestroy(GHandle gh) { /* Deregister the button callback */ geventRegisterCallback(&gh2obj->gl, NULL, NULL); geventDetachSource(&gh2obj->gl, NULL); /* call the gcontainer standard destroy routine */ _gcontainerDestroy(gh); }
static void TabpageDestroy(GHandle gh) { _gcontainerDestroy(gh); FixTabSizePos(gh->parent); }