typo
This commit is contained in:
parent
0a5bfdd6ec
commit
949290c01d
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ static coord_t BorderSizeT(GHandle gh) { return (gh->flags & GWIN_FRAME_BORDER)
|
||||||
|
|
||||||
static void _frameDestroy(GHandle gh) {
|
static void _frameDestroy(GHandle gh) {
|
||||||
/* Deregister the button callback */
|
/* Deregister the button callback */
|
||||||
if ((flags & (GWIN_FRAME_CLOSE_BTN|GWIN_FRAME_MINMAX_BTN))) {
|
if ((gh->flags & (GWIN_FRAME_CLOSE_BTN|GWIN_FRAME_MINMAX_BTN))) {
|
||||||
geventRegisterCallback(&gh2obj->gl, NULL, NULL);
|
geventRegisterCallback(&gh2obj->gl, NULL, NULL);
|
||||||
geventDetachSource(&gh2obj->gl, NULL);
|
geventDetachSource(&gh2obj->gl, NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue