Small fix for a progressbar
This commit is contained in:
parent
5a4e0b7b4d
commit
28d9da556a
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ static void ResetDisplayPos(GProgressbarObject *gsw) {
|
|||
// We have to deinitialize the timer which auto updates the progressbar if any
|
||||
static void _destroy(GHandle gh) {
|
||||
#if GWIN_PROGRESSBAR_AUTO
|
||||
gtimerDeinit( &((GProgressbarObject *)gh)->gt );
|
||||
gtimerStop(&((GProgressbarObject *)gh)->gt);
|
||||
gtimerDeinit(&((GProgressbarObject *)gh)->gt);
|
||||
#endif
|
||||
|
||||
_gwidgetDestroy(gh);
|
||||
|
|
Loading…
Add table
Reference in a new issue