diff options
author | Dan Winship <danw@src.gnome.org> | 2000-10-20 00:41:07 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-10-20 00:41:07 +0800 |
commit | 79d19f353c19137c65fe40164d90da0b16eee9ed (patch) | |
tree | af964917e332c08be46d55fe6e2acff5f2fdf531 /widgets/text/e-text.c | |
parent | f0a66281c6258e5225ca0a2059e774a665a50bf4 (diff) | |
download | gsoc2013-evolution-79d19f353c19137c65fe40164d90da0b16eee9ed.tar.gz gsoc2013-evolution-79d19f353c19137c65fe40164d90da0b16eee9ed.tar.zst gsoc2013-evolution-79d19f353c19137c65fe40164d90da0b16eee9ed.zip |
remove timeouts on destroy so they don't try to write to freed data
svn path=/trunk/; revision=6032
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index b487cf44db..0abef82bd5 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -433,6 +433,16 @@ e_text_destroy (GtkObject *object) text->tooltip_timeout = 0; } + if ( text->dbl_timeout ) { + gtk_timeout_remove (text->dbl_timeout); + text->dbl_timeout = 0; + } + + if ( text->tpl_timeout ) { + gtk_timeout_remove (text->tpl_timeout); + text->tpl_timeout = 0; + } + if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); } |