aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatch-operation.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c
index 20ebadb83..6120f8e05 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