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

List:       kde-commits
Subject:    [lightdm] /: Use CMakeLists.txt version in about.h
From:       Aurélien Gâteau <aurelien.gateau () canonical ! com>
Date:       2012-04-18 14:20:05
Message-ID: 20120418142005.95F51A60BB () git ! kde ! org
[Download RAW message or body]

Git commit 33cc7e2adda0d505354ed2dc1ef0e34dd488bdf6 by Aur=C3=A9lien G=C3=
=A2teau.
Committed on 18/04/2012 at 15:05.
Pushed by gateau into branch 'master'.

Use CMakeLists.txt version in about.h

M  +3    -1    about.h
M  +2    -1    config.h.in

http://commits.kde.org/lightdm/33cc7e2adda0d505354ed2dc1ef0e34dd488bdf6

diff --git a/about.h b/about.h
index 86ef0b8..9e90a13 100644
--- a/about.h
+++ b/about.h
@@ -19,11 +19,13 @@ along with LightDM-KDE.  If not, see <http://www.gnu.or=
g/licenses/>.
 #ifndef ABOUT_H
 #define ABOUT_H
 =

+#include <config.h>
+
 // Helper function to factorize common part s of KAboutData definition bet=
ween
 // greeter and kcm
 static void initAboutData(KAboutData* aboutData)
 {
-    aboutData->setVersion("0.1");
+    aboutData->setVersion(LIGHTDM_KDE_VERSION);
 =

     aboutData->setShortDescription(ki18n("Login screen using the LightDM f=
ramework"));
     aboutData->setLicense(KAboutData::License_GPL);
diff --git a/config.h.in b/config.h.in
index 1ac0a66..ee196a8 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1 +1,2 @@
-#define LIGHTDM_CONFIG_DIR "@LIGHTDM_CONFIG_DIR@"
\ No newline at end of file
+#define LIGHTDM_CONFIG_DIR "@LIGHTDM_CONFIG_DIR@"
+#define LIGHTDM_KDE_VERSION "@LIGHTDM_KDE_VERSION@"
[prev in list] [next in list] [prev in thread] [next in thread] 

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