aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-06-18 14:18:42 +0000
committerMax Horn2007-06-18 14:18:42 +0000
commitdc62023190055f909d1a5183b8c1396051a7cfa2 (patch)
treea9465405124f5b62b6fb1c630656be544bf25dab
parent8c881acd48ea9b58ef0b38b0fd2f9c3fddb20a70 (diff)
downloadscummvm-rg350-dc62023190055f909d1a5183b8c1396051a7cfa2.tar.gz
scummvm-rg350-dc62023190055f909d1a5183b8c1396051a7cfa2.tar.bz2
scummvm-rg350-dc62023190055f909d1a5183b8c1396051a7cfa2.zip
Use the SCUMMVM_VERSION macro from base/internal_version.h in the maemo backend code, instead of hardcoding it (one potential headache less, yippie)
svn-id: r27537
-rw-r--r--backends/platform/maemo/hildon.cpp3
-rw-r--r--backends/platform/maemo/main.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/maemo/hildon.cpp b/backends/platform/maemo/hildon.cpp
index 314e1de502..d4f2aa122d 100644
--- a/backends/platform/maemo/hildon.cpp
+++ b/backends/platform/maemo/hildon.cpp
@@ -26,9 +26,10 @@
#include <hildon-widgets/hildon-app.h>
#include <gtk/gtk.h>
#include <libosso.h>
+#include "base/internal_version.h"
#define OSSO_APP_NAME "scummvm"
-#define OSSO_APP_VERSION "0.11.0SVN"
+#define OSSO_APP_VERSION SCUMMVM_VERSION
#define OSSO_APP_SERVICE "org.scummvm."OSSO_APP_NAME
#define OSSO_APP_OBJECT "/org/scummvm/"OSSO_APP_NAME
#define OSSO_APP_IFACE "org.scummvm."OSSO_APP_NAME
diff --git a/backends/platform/maemo/main.cpp b/backends/platform/maemo/main.cpp
index 7d0b5cf821..73a5aff7bc 100644
--- a/backends/platform/maemo/main.cpp
+++ b/backends/platform/maemo/main.cpp
@@ -33,6 +33,7 @@
#include "backends/platform/maemo/maemo-sdl.h"
#include "base/main.h"
+#include "base/internal_version.h"
#include <hildon-widgets/hildon-app.h>
#include <gtk/gtk.h>
#include <libosso.h>
@@ -41,7 +42,7 @@
#include <sys/resource.h>
#define OSSO_APP_NAME "scummvm"
-#define OSSO_APP_VERSION "0.11.0SVN"
+#define OSSO_APP_VERSION SCUMMVM_VERSION
void set_doubling(unsigned char enable) {
return;