From 325786d466cc7a8b6eed06e52b9b5223ba5dc7fd Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 29 Jun 2010 17:06:11 +0200 Subject: tp-file: no need to pass the incoming property during construction We can infer it from the channel properties. --- src/empathy-event-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/empathy-event-manager.c') diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 3f4281fbf..e60a9b100 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -924,7 +924,7 @@ approve_channels (TpSimpleApprover *approver, else if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER) { TpHandle handle; - EmpathyTpFile *tp_file = empathy_tp_file_new (channel, TRUE); + EmpathyTpFile *tp_file = empathy_tp_file_new (channel); approval->handler_instance = G_OBJECT (tp_file); -- cgit v1.2.3