diff options
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r-- | libempathy/empathy-tp-call.c | 2 |
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); } |