Remove adjustment timeouts on finalize

master
Yevgen Muntyan 2005-07-31 04:27:49 +00:00
parent 55e4ad7806
commit 4a537f4d01
1 changed files with 5 additions and 0 deletions

View File

@ -407,6 +407,11 @@ static void moo_term_finalize (GObject *object)
moo_term_profile_array_free (term->priv->profiles);
moo_term_profile_free (term->priv->default_shell);
if (term->priv->pending_adjustment_changed)
g_source_remove (term->priv->pending_adjustment_changed);
if (term->priv->pending_adjustment_value_changed)
g_source_remove (term->priv->pending_adjustment_value_changed);
g_free (term->priv);
G_OBJECT_CLASS (moo_term_parent_class)->finalize (object);
}