[empathy] contact_list_store_dispose: unset the timer ids
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact_list_store_dispose: unset the timer ids
- Date: Mon, 24 Oct 2011 08:13:03 +0000 (UTC)
commit d9c10ab6a37590b52b51a310bc1389c426fb7c77
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Oct 21 14:52:02 2011 +0200
contact_list_store_dispose: unset the timer ids
https://bugzilla.gnome.org/show_bug.cgi?id=662211
libempathy-gtk/empathy-contact-list-store.c | 4 +++-
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 4f7398e..233a923 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]