From 6ee6fa693dd4cf6d33eae5a5b8c43f08a73563bc Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 11 Nov 2008 15:27:52 +0000 Subject: Use two g_asserts rather than g_assert (foo && bar). svn path=/trunk/; revision=1704 --- libempathy-gtk/empathy-avatar-chooser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libempathy-gtk/empathy-avatar-chooser.c b/libempathy-gtk/empathy-avatar-chooser.c index 9ccff0b85..78535b439 100644 --- a/libempathy-gtk/empathy-avatar-chooser.c +++ b/libempathy-gtk/empathy-avatar-chooser.c @@ -224,7 +224,8 @@ avatar_chooser_finalize (GObject *object) priv = GET_PRIV (object); avatar_chooser_set_account (EMPATHY_AVATAR_CHOOSER (object), NULL); - g_assert (priv->account == NULL && priv->tp_contact_factory == NULL); + g_assert (priv->account == NULL); + g_assert (priv->tp_contact_factory == NULL); g_object_unref (priv->contact_factory); @@ -367,7 +368,8 @@ can_satisfy_mime_type_requirements (gchar **accepted_mime_types, return TRUE; } else { /* check we're not leaking. */ - g_assert (name == NULL && type == NULL); + g_assert (name == NULL); + g_assert (type == NULL); return FALSE; } } -- cgit v1.2.3