Kaydet (Commit) 44b6da67 authored tarafından Eike Rathke's avatar Eike Rathke Kaydeden (comit) Matúš Kukan

cleanout flushLoop

relict from testing era, not needed anymore
üst 7c5b100c
......@@ -192,9 +192,6 @@ public:
/** Iterate our GMainLoop, blocking, until the callback is done. */
void iterateLoop( const TeleConference* pConference, ConferenceCallBackInvokedFunc pFunc );
/** Iterate our GMainLoop, non-blocking, until nothing pending. */
void flushLoop() const;
/// "LibreOfficeWhatEver"
static rtl::OString getFullClientName();
......
......@@ -60,7 +60,6 @@ public:
void testSendPacket();
void testReceivePacket();
void testSendFile();
void testFlushLoops();
void testDestroyManager1();
void testDestroyManager2();
void testDestroyAccepterContact();
......@@ -88,7 +87,6 @@ public:
CPPUNIT_TEST( testSendPacket );
CPPUNIT_TEST( testReceivePacket );
CPPUNIT_TEST( testSendFile );
CPPUNIT_TEST( testFlushLoops );
CPPUNIT_TEST( testDestroyManager1 );
CPPUNIT_TEST( testDestroyManager2 );
CPPUNIT_TEST( testDestroyAccepterContact );
......@@ -346,12 +344,6 @@ void TestTeleTubes::testSendFile()
maFileReceivedUri == "file:///tmp/LibreOffice-collab-test-config.ini");
}
void TestTeleTubes::testFlushLoops()
{
mpManager1->flushLoop();
mpManager2->flushLoop();
}
void TestTeleTubes::testDestroyManager1()
{
delete mpManager1;
......
......@@ -931,18 +931,6 @@ void TeleManager::iterateLoop( const TeleConference* pConference, ConferenceCall
}
void TeleManager::flushLoop() const
{
if (pImpl->mpLoop)
{
GMainContext* pContext = g_main_loop_get_context( pImpl->mpLoop);
while (g_main_context_iteration( pContext, FALSE))
{
}
}
}
GMainLoop* TeleManager::getMainLoop() const
{
return pImpl->mpLoop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment