[Telepathy-commits] [telepathy-sofiasip/master] Renamed tpsip_text_channel_close_async to tpsip_text_channel_dbus_close

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Sun Oct 19 13:30:50 PDT 2008


---
 src/sip-text-channel.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/sip-text-channel.c b/src/sip-text-channel.c
index 462d797..dc1795a 100644
--- a/src/sip-text-channel.c
+++ b/src/sip-text-channel.c
@@ -560,8 +560,8 @@ tpsip_text_channel_acknowledge_pending_messages(TpSvcChannelTypeText *iface,
  * on interface org.freedesktop.Telepathy.Channel
  */
 static void
-tpsip_text_channel_close_async (TpSvcChannel *iface,
-                              DBusGMethodInvocation *context)
+tpsip_text_channel_dbus_close (TpSvcChannel *iface,
+                               DBusGMethodInvocation *context)
 {
   tpsip_text_channel_close (TPSIP_TEXT_CHANNEL(iface));
   tp_svc_channel_return_from_close (context);
@@ -921,12 +921,13 @@ channel_iface_init(gpointer g_iface, gpointer iface_data)
 {
   TpSvcChannelClass *klass = (TpSvcChannelClass *)g_iface;
 
-#define IMPLEMENT(x, suffix) tp_svc_channel_implement_##x (\
-    klass, tpsip_text_channel_##x##suffix)
-  IMPLEMENT(close,_async);
-  IMPLEMENT(get_channel_type,);
-  IMPLEMENT(get_handle,);
-  IMPLEMENT(get_interfaces,);
+  tp_svc_channel_implement_close (
+      klass, tpsip_text_channel_dbus_close);
+#define IMPLEMENT(x) tp_svc_channel_implement_##x (\
+      klass, tpsip_text_channel_##x)
+  IMPLEMENT(get_channel_type);
+  IMPLEMENT(get_handle);
+  IMPLEMENT(get_interfaces);
 #undef IMPLEMENT
 }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list