aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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 16:12:40 +0800
commitd9c10ab6a37590b52b51a310bc1389c426fb7c77 (patch)
tree0cd1d7243e95719cf254f9dbb9e7b7d567e2ff94 /libempathy-gtk
parent802ca8adb59c1e78939d9807611c939d91299403 (diff)
downloadgsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar.gz
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar.bz2
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar.lz
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar.xz
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.tar.zst
gsoc2013-empathy-d9c10ab6a37590b52b51a310bc1389c426fb7c77.zip
contact_list_store_dispose: unset the timer ids
https://bugzilla.gnome.org/show_bug.cgi?id=662211
Diffstat (limited to 'libempathy-gtk')
-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 4f7398e22..233a923cd 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);