OSL_ENSURE was not declared in this scope

Change-Id: I426c0feee7b76fe02473e07fa209a61967af3e99
This commit is contained in:
David Tardon 2015-01-11 13:08:37 +01:00
parent 884c5a247a
commit 623b38fa57

View file

@ -248,7 +248,7 @@ static void channel_closed_cb( TpChannel *channel, gpointer user_data, GObject *
void TeleConference::setChannel( TpAccount *pAccount, TpDBusTubeChannel* pChannel )
{
OSL_ENSURE( !mpChannel, "TeleConference::setChannel: already have channel");
SAL_WARN_IF( mpChannel, "tubes", "TeleConference::setChannel: already have channel");
if (mpChannel)
g_object_unref( mpChannel);
if (mpAccount)
@ -297,7 +297,7 @@ bool TeleConference::offerTube()
{
INFO_LOGGER( "TeleConference::offerTube");
OSL_ENSURE( mpChannel, "TeleConference::offerTube: no channel");
SAL_WARN_IF( !mpChannel, "tubes", "TeleConference::offerTube: no channel");
if (!mpChannel)
return false;
@ -319,7 +319,7 @@ bool TeleConference::setTube( GDBusConnection* pTube)
{
INFO_LOGGER( "TeleConference::setTube");
OSL_ENSURE( !pImpl->mpTube, "TeleConference::setTube: already tubed");
SAL_WARN_IF( pImpl->mpTube, "tubes", "TeleConference::setTube: already tubed");
pImpl->mpTube = pTube;