[Telepathy-commits] [telepathy-mission-control/master] Fix negated assertion

Alberto Mardegan alberto.mardegan at nokia.com
Wed Feb 11 01:15:30 PST 2009


Argh!
---
 libmcclient/mc-account-request.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libmcclient/mc-account-request.c b/libmcclient/mc-account-request.c
index a5818b1..a37d876 100644
--- a/libmcclient/mc-account-request.c
+++ b/libmcclient/mc-account-request.c
@@ -68,7 +68,7 @@ on_weak_object_destroy (guint id, GObject *weak_object)
     req = REQUEST_FROM_ID (id);
     if (G_UNLIKELY (!req)) return;
 
-    g_return_if_fail (req->weak_object != weak_object);
+    g_return_if_fail (req->weak_object == weak_object);
     req->weak_object = NULL;
     g_hash_table_remove (requests, GUINT_TO_POINTER (id));
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list