// We have to deinitialize the timer which auto updates the progressbar if any static void PBDestroy(GHandle gh) { #if GWIN_PROGRESSBAR_AUTO gtimerStop(&((GProgressbarObject *)gh)->gt); gtimerDeinit(&((GProgressbarObject *)gh)->gt); #endif _gwidgetDestroy(gh); }
static void ListDestroy(GHandle gh) { const gfxQueueASyncItem* qi; while((qi = gfxQueueASyncGet(&gh2obj->list_head))) gfxFree((void *)qi); _gwidgetDestroy(gh); }