[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdenetwork/kopete/kopete
From:       Lamarque Souza <lamarque () gmail ! com>
Date:       2011-02-05 16:30:26
Message-ID: 20110205163026.264273E1F8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1219007 by lvsouza:

Backport r1219006 by lvsouza from trunk to the 4.6 branch:

Making them static as suggested by Raphael Kubo da Costa.


 M  +4 -4      kopetewindow.cpp  


--- branches/KDE/4.6/kdenetwork/kopete/kopete/kopetewindow.cpp #1219006:1219007
@@ -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);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic