]> git.0d.be Git - empathy.git/commitdiff
remove empathy_dispatch_operation_new_with_wrapper
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 19 Apr 2010 15:32:07 +0000 (17:32 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 19 Apr 2010 15:32:14 +0000 (17:32 +0200)
It's not needed any more.

libempathy/empathy-dispatch-operation.c

index 20ebadb83c611c81f5a6a9d83ea25afb91b92c4a..6120f8e05271d435660727c2998dad4b928cb26e 100644 (file)
@@ -494,27 +494,16 @@ out:
 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