aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-call.c
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-06-13 19:13:57 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-06-13 19:13:57 +0800
commit6b658ff7c7bef5cce18cb85135571ac5c1032f4a (patch)
treed2ee210b0023c3d90c1513eb966e1fee15b09cfd /libempathy/empathy-tp-call.c
parentb88069bb757dd8d1da811bdc6d2411b65b0ad529 (diff)
downloadgsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar.gz
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar.bz2
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar.lz
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar.xz
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.tar.zst
gsoc2013-empathy-6b658ff7c7bef5cce18cb85135571ac5c1032f4a.zip
Add g_return_val_if_fail (Alban Crequy)
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1167 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r--libempathy/empathy-tp-call.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 9fba6de05..e1bb6f4a7 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -847,6 +847,8 @@ empathy_tp_call_has_dtmf (EmpathyTpCall *call)
{
EmpathyTpCallPriv *priv = GET_PRIV (call);
+ g_return_val_if_fail (EMPATHY_IS_TP_CALL (call), FALSE);
+
return tp_proxy_has_interface_by_id (priv->channel,
TP_IFACE_QUARK_CHANNEL_INTERFACE_DTMF);
}