diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-12 23:00:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-12 23:00:15 +0800 |
commit | 3d2f200b14e889d1ac91b3d081c1c00abd0d2e37 (patch) | |
tree | a8fb45fd7d6540fff50d5a1a88323d41f6ca4cd4 /libempathy/empathy-tp-call.c | |
parent | 4454890cf434cece46d5cf56b3e23b500cb6ac43 (diff) | |
download | gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar.gz gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar.bz2 gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar.lz gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar.xz gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.tar.zst gsoc2013-empathy-3d2f200b14e889d1ac91b3d081c1c00abd0d2e37.zip |
add g_return_val_if_fail in _new functions
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r-- | libempathy/empathy-tp-call.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 66fd3f870..9dcf9bfd7 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -604,6 +604,7 @@ EmpathyTpCall * empathy_tp_call_new (TpAccount *account, TpChannel *channel) { + g_return_val_if_fail (TP_IS_ACCOUNT (account), NULL); g_return_val_if_fail (TP_IS_CHANNEL (channel), NULL); return g_object_new (EMPATHY_TYPE_TP_CALL, |