empathy r1167 - trunk/libempathy



Author: xclaesse
Date: Fri Jun 13 11:13:57 2008
New Revision: 1167
URL: http://svn.gnome.org/viewvc/empathy?rev=1167&view=rev

Log:
Add g_return_val_if_fail (Alban Crequy)


Modified:
   trunk/libempathy/empathy-tp-call.c

Modified: trunk/libempathy/empathy-tp-call.c
==============================================================================
--- trunk/libempathy/empathy-tp-call.c	(original)
+++ trunk/libempathy/empathy-tp-call.c	Fri Jun 13 11:13:57 2008
@@ -847,6 +847,8 @@
 {
   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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]