diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-11 23:27:52 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-11 23:27:52 +0800 |
commit | fa7cc63ba98f95edaaed40ff25dcd074336277fa (patch) | |
tree | 6e9dc283e8fb16523fe437b734f85051e090e2af /libempathy-gtk | |
parent | 82f02919e262135d79db11627ebe6a6d8668ef5b (diff) | |
download | gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar.gz gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar.bz2 gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar.lz gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar.xz gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.tar.zst gsoc2013-empathy-fa7cc63ba98f95edaaed40ff25dcd074336277fa.zip |
Use two g_asserts rather than g_assert (foo && bar).
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1704 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-avatar-chooser.c | 6 |
1 files 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; } } |