diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-03-06 19:53:20 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-06 19:53:20 +0800 |
commit | e3528df858ef8a297d5b7d4e3446e53e71403ec8 (patch) | |
tree | 00d222959e8e7dba4f44d86c188537d0a6bc702c /libempathy/empathy-log-manager.c | |
parent | c79a4dd6ecc739e5bca37cc8401bddc5c8a6c176 (diff) | |
download | gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar.gz gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar.bz2 gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar.lz gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar.xz gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.tar.zst gsoc2013-empathy-e3528df858ef8a297d5b7d4e3446e53e71403ec8.zip |
Use if (n != NULL) instead of if (n).
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2615
Diffstat (limited to 'libempathy/empathy-log-manager.c')
-rw-r--r-- | libempathy/empathy-log-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-log-manager.c b/libempathy/empathy-log-manager.c index 78f5c15eb..176d80e44 100644 --- a/libempathy/empathy-log-manager.c +++ b/libempathy/empathy-log-manager.c @@ -369,7 +369,7 @@ empathy_log_manager_search_new (EmpathyLogManager *manager, void empathy_log_manager_search_hit_free (EmpathyLogSearchHit *hit) { - if (hit->account) + if (hit->account != NULL) g_object_unref (hit->account); g_free (hit->date); @@ -423,7 +423,7 @@ log_manager_chat_received_message_cb (EmpathyTpChat *tp_chat, DEBUG ("Failed to write message: %s", error ? error->message : "No error message"); - if (error) + if (error != NULL) g_error_free (error); } } |