From kde-commits Sat Feb 05 16:27:32 2011 From: Lamarque Souza Date: Sat, 05 Feb 2011 16:27:32 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/kopete Message-Id: <20110205162733.04C92AC8C7 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129692329308760 SVN commit 1219006 by lvsouza: Making them static as suggested by Raphael Kubo da Costa. M +4 -4 kopetewindow.cpp --- trunk/KDE/kdenetwork/kopete/kopete/kopetewindow.cpp #1219005:1219006 @@ -652,8 +652,8 @@ Kopete::AppearanceSettings::self()->writeConfig(); } -bool compareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b); -bool invertedCompareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b); +static bool compareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b); +static bool invertedCompareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b); void KopeteWindow::slotConfigChanged() { @@ -1042,7 +1042,7 @@ i->setPixmap ( pm ); } -bool compareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b) +static bool compareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b) { int c = 0; @@ -1061,7 +1061,7 @@ return (c < 0); } -bool invertedCompareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b) +static bool invertedCompareOnlineStatus(const Kopete::Account *a, const Kopete::Account *b) { return !compareOnlineStatus(a, b); }