Kaydet (Commit) 0c9aae91 authored tarafından Matúš Kukan's avatar Matúš Kukan

tubes: use SAL_INFO SAL_WARN here

Change-Id: Iae41c7f3d6718c06092d41d9b3757a821dba87b5
üst 2965a1c3
...@@ -117,10 +117,10 @@ class TubeContacts : public ModelessDialog ...@@ -117,10 +117,10 @@ class TubeContacts : public ModelessDialog
{ {
TpAccount* pAccount = pAC->mpAccount; TpAccount* pAccount = pAC->mpAccount;
TpContact* pContact = pAC->mpContact; TpContact* pContact = pAC->mpContact;
fprintf( stderr, "picked %s\n", tp_contact_get_identifier( pContact ) ); SAL_INFO( "tubes", "picked " << tp_contact_get_identifier( pContact ) );
TeleConference* pConference = mpManager->startBuddySession( pAccount, pContact ); TeleConference* pConference = mpManager->startBuddySession( pAccount, pContact );
if (!pConference) if (!pConference)
fprintf( stderr, "could not start session with %s\n", SAL_WARN( "tubes", "Could not start session with " <<
tp_contact_get_identifier( pContact ) ); tp_contact_get_identifier( pContact ) );
else else
{ {
...@@ -139,11 +139,11 @@ class TubeContacts : public ModelessDialog ...@@ -139,11 +139,11 @@ class TubeContacts : public ModelessDialog
if (pAC) if (pAC)
{ {
TpAccount* pAccount = pAC->mpAccount; TpAccount* pAccount = pAC->mpAccount;
fprintf( stderr, "picked %s\n", tp_account_get_display_name( pAccount ) ); SAL_INFO( "tubes", "picked " << tp_account_get_display_name( pAccount ) );
TeleConference* pConference = mpManager->startGroupSession( pAccount, TeleConference* pConference = mpManager->startGroupSession( pAccount,
rtl::OUString("liboroom"), rtl::OUString("conference.jabber.org") ); rtl::OUString("liboroom"), rtl::OUString("conference.jabber.org") );
if (!pConference) if (!pConference)
fprintf( stderr, "could not start group session\n" ); SAL_WARN( "tubes", "Could not start group session." );
else else
{ {
mpCollaboration->SetCollaboration( pConference ); mpCollaboration->SetCollaboration( pConference );
......
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