From: Guillaume Desmottes Date: Fri, 21 Oct 2011 12:52:02 +0000 (+0200) Subject: contact_list_store_dispose: unset the timer ids X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=d9c10ab6a37590b52b51a310bc1389c426fb7c77 contact_list_store_dispose: unset the timer ids https://bugzilla.gnome.org/show_bug.cgi?id=662211 --- diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c index 4f7398e2..233a923c 100644 --- a/libempathy-gtk/empathy-contact-list-store.c +++ b/libempathy-gtk/empathy-contact-list-store.c @@ -375,12 +375,14 @@ contact_list_store_dispose (GObject *object) object); g_object_unref (priv->list); - if (priv->inhibit_active) { + if (priv->inhibit_active != 0) { g_source_remove (priv->inhibit_active); + priv->inhibit_active = 0; } if (priv->setup_idle_id != 0) { g_source_remove (priv->setup_idle_id); + priv->setup_idle_id = 0; } g_hash_table_destroy (priv->status_icons);