Fix compiler warning

ugfx_release_2.6
Andrew Hannam 2013-03-08 00:52:33 +10:00
parent 4e67b54e4d
commit a2cb02abbf
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ void gwinDestroyWindow(GHandle gh) {
chHeapFree((void *)((GButtonObject *)gh)->txt);
}
geventDetachSource(&((GButtonObject *)gh)->listener, 0);
geventDetachSourceListeners((GSourceHandle *)gh);
geventDetachSourceListeners((GSourceHandle)gh);
break;
#endif
default: