Kaydet (Commit) 623b38fa authored tarafından David Tardon's avatar David Tardon

OSL_ENSURE was not declared in this scope

Change-Id: I426c0feee7b76fe02473e07fa209a61967af3e99
üst 884c5a24
...@@ -248,7 +248,7 @@ static void channel_closed_cb( TpChannel *channel, gpointer user_data, GObject * ...@@ -248,7 +248,7 @@ static void channel_closed_cb( TpChannel *channel, gpointer user_data, GObject *
void TeleConference::setChannel( TpAccount *pAccount, TpDBusTubeChannel* pChannel ) 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) if (mpChannel)
g_object_unref( mpChannel); g_object_unref( mpChannel);
if (mpAccount) if (mpAccount)
...@@ -297,7 +297,7 @@ bool TeleConference::offerTube() ...@@ -297,7 +297,7 @@ bool TeleConference::offerTube()
{ {
INFO_LOGGER( "TeleConference::offerTube"); INFO_LOGGER( "TeleConference::offerTube");
OSL_ENSURE( mpChannel, "TeleConference::offerTube: no channel"); SAL_WARN_IF( !mpChannel, "tubes", "TeleConference::offerTube: no channel");
if (!mpChannel) if (!mpChannel)
return false; return false;
...@@ -319,7 +319,7 @@ bool TeleConference::setTube( GDBusConnection* pTube) ...@@ -319,7 +319,7 @@ bool TeleConference::setTube( GDBusConnection* pTube)
{ {
INFO_LOGGER( "TeleConference::setTube"); 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; pImpl->mpTube = pTube;
......
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