aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-21 20:52:02 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-24 22:53:21 +0800
commitaf48539d2a169556fc6749232d55c9661d98771e (patch)
treee160bb511a58c2e6aa797b12e35349be4eac123f
parent07aabe75df7e32355c5273ed9f3a831eaf01b340 (diff)
downloadgsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar.gz
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar.bz2
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar.lz
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar.xz
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.tar.zst
gsoc2013-empathy-af48539d2a169556fc6749232d55c9661d98771e.zip
contact_list_store_dispose: unset the timer ids
https://bugzilla.gnome.org/show_bug.cgi?id=662211
-rw-r--r--libempathy-gtk/empathy-contact-list-store.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 80fc572d2..c4f2d002f 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -386,12 +386,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);