diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-07-20 15:35:27 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-07-20 21:39:16 +0200 |
commit | 6f606f8064d8dc7daa60960151da71943361d394 (patch) | |
tree | 428bd6a3cf552f8578578326075b1fd675daef58 /tubes/source | |
parent | baa7114906108b655f09fcd6d6c593d3212967bb (diff) |
tubes: remove unused parameters
Change-Id: Ia1c683f5b9245d1673a610901636921619f47406
Diffstat (limited to 'tubes/source')
-rw-r--r-- | tubes/source/manager.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tubes/source/manager.cxx b/tubes/source/manager.cxx index e43612c1d587..f6642f212540 100644 --- a/tubes/source/manager.cxx +++ b/tubes/source/manager.cxx @@ -135,7 +135,7 @@ void TeleManager::DBusChannelHandler( SAL_INFO( "tubes", "accepting"); aAccepted = true; - TeleConference* pConference = new TeleConference( pManager, pAccount, TP_DBUS_TUBE_CHANNEL( pChannel ), createUuid() ); + TeleConference* pConference = new TeleConference( pManager, pAccount, TP_DBUS_TUBE_CHANNEL( pChannel ) ); pConference->acceptTube(); pManager->addConference( pConference ); } @@ -207,10 +207,8 @@ SAL_DLLPUBLIC_EXPORT void TeleManager_fileReceived( const rtl::OUString &rStr ) } } -void TeleManager::TransferDone( EmpathyFTHandler *handler, TpFileTransferChannel *, gpointer pUserData) +void TeleManager::TransferDone( EmpathyFTHandler *handler, TpFileTransferChannel *, gpointer ) { - TeleManager* pManager = reinterpret_cast<TeleManager*>(pUserData); - SAL_INFO( "tubes", "TeleManager::TransferDone: hooray!"); GFile *gfile = empathy_ft_handler_get_gfile( handler); char *uri = g_file_get_uri( gfile); @@ -538,7 +536,7 @@ bool TeleManager::registerClients() getFullClientName().getStr(), // name TRUE, // uniquify to get a different bus name to the main client, above TeleManager_FileTransferHandler, // callback - this, // user_data + this, // user_data, unused NULL // destroy ); tp_base_client_take_handler_filter( pImpl->mpFileTransferClient, |