Small fix for a progressbar
This commit is contained in:
parent
5a4e0b7b4d
commit
28d9da556a
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ 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
|
||||||
|
gtimerStop(&((GProgressbarObject *)gh)->gt);
|
||||||
gtimerDeinit(&((GProgressbarObject *)gh)->gt);
|
gtimerDeinit(&((GProgressbarObject *)gh)->gt);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue