Small fix for a progressbar

remotes/origin_old/ugfx_release_2.6
inmarket 2015-01-03 18:44:48 +10:00
parent 5a4e0b7b4d
commit 28d9da556a
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ static void ResetDisplayPos(GProgressbarObject *gsw) {
// We have to deinitialize the timer which auto updates the progressbar if any // We have to deinitialize the timer which auto updates the progressbar if any
static void _destroy(GHandle gh) { static void _destroy(GHandle gh) {
#if GWIN_PROGRESSBAR_AUTO #if GWIN_PROGRESSBAR_AUTO
gtimerDeinit( &((GProgressbarObject *)gh)->gt ); gtimerStop(&((GProgressbarObject *)gh)->gt);
gtimerDeinit(&((GProgressbarObject *)gh)->gt);
#endif #endif
_gwidgetDestroy(gh); _gwidgetDestroy(gh);