[empathy] remove empathy_dispatch_operation_new_with_wrapper



commit 73b78f9eb4e187b5c347225e1ba178f7b5cad7c1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Apr 19 17:32:07 2010 +0200

    remove empathy_dispatch_operation_new_with_wrapper
    
    It's not needed any more.

 libempathy/empathy-dispatch-operation.c |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c
index 20ebadb..6120f8e 100644
--- a/libempathy/empathy-dispatch-operation.c
+++ b/libempathy/empathy-dispatch-operation.c
@@ -495,26 +495,15 @@ EmpathyDispatchOperation *
 empathy_dispatch_operation_new (TpConnection *connection, TpChannel *channel,
   EmpathyContact *contact, gboolean incoming)
 {
-  return empathy_dispatch_operation_new_with_wrapper (connection, channel,
-    contact, incoming, NULL);
-}
-
-EmpathyDispatchOperation *
-empathy_dispatch_operation_new_with_wrapper (TpConnection *connection,
-  TpChannel *channel, EmpathyContact *contact, gboolean incoming,
-  GObject *wrapper)
-{
   g_return_val_if_fail (connection != NULL, NULL);
   g_return_val_if_fail (channel != NULL, NULL);
 
-  return EMPATHY_DISPATCH_OPERATION (
-    g_object_new (EMPATHY_TYPE_DISPATCH_OPERATION,
+  return g_object_new (EMPATHY_TYPE_DISPATCH_OPERATION,
       "connection", connection,
       "channel", channel,
-      "channel-wrapper", wrapper,
       "contact", contact,
       "incoming", incoming,
-      NULL));
+      NULL);
 }
 
 void



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