diff options
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 99767584..c9751fe3 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -175,6 +175,7 @@ iDefineTypeConstruction(DrawBufs) | |||
175 | 175 | ||
176 | /*----------------------------------------------------------------------------------------------*/ | 176 | /*----------------------------------------------------------------------------------------------*/ |
177 | 177 | ||
178 | static void animate_DocumentWidget_ (void *ticker); | ||
178 | static void animateMedia_DocumentWidget_ (iDocumentWidget *d); | 179 | static void animateMedia_DocumentWidget_ (iDocumentWidget *d); |
179 | static void updateSideIconBuf_DocumentWidget_ (const iDocumentWidget *d); | 180 | static void updateSideIconBuf_DocumentWidget_ (const iDocumentWidget *d); |
180 | 181 | ||
@@ -347,6 +348,7 @@ void init_DocumentWidget(iDocumentWidget *d) { | |||
347 | } | 348 | } |
348 | 349 | ||
349 | void deinit_DocumentWidget(iDocumentWidget *d) { | 350 | void deinit_DocumentWidget(iDocumentWidget *d) { |
351 | removeTicker_App(animate_DocumentWidget_, d); | ||
350 | delete_Translation(d->translation); | 352 | delete_Translation(d->translation); |
351 | delete_DrawBufs(d->drawBufs); | 353 | delete_DrawBufs(d->drawBufs); |
352 | delete_VisBuf(d->visBuf); | 354 | delete_VisBuf(d->visBuf); |