aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-06-13 19:13:57 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-06-13 19:13:57 +0800
commitfb2ea59a07e6ecc6be24c6e84612353754aa7dd2 (patch)
treed2ee210b0023c3d90c1513eb966e1fee15b09cfd
parent407d8be946d461e31b19cb52038524a6590fb14d (diff)
downloadgsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar.gz
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar.bz2
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar.lz
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar.xz
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.tar.zst
gsoc2013-empathy-fb2ea59a07e6ecc6be24c6e84612353754aa7dd2.zip
Add g_return_val_if_fail (Alban Crequy)
svn path=/trunk/; revision=1167
-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);
}