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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete
From:       Lamarque Souza <lamarque () gmail ! com>
Date:       2011-02-05 16:27:32
Message-ID: 20110205162733.04C92AC8C7 () svn ! kde ! org
[Download RAW message or body]

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);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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