Commit 9bd2c26f authored by Claes Sjofors's avatar Claes Sjofors

Bugfix in GlowDrawGtk destructor, timer on button click wasn't removed

parent ff9a2963
......@@ -467,6 +467,8 @@ static GdkColor glow_allocate_color( GlowDrawGtk *draw_ctx, int rgb_red,
GlowDrawGtk::~GlowDrawGtk()
{
cancel_event_timer( ctx);
ctx->set_nodraw();
if ( ctx->type() == glow_eCtxType_Grow)
delete (GrowCtx *)ctx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment