[aseprite] 186/196: Remove gui.xml version check on release
Tobias Hansen
thansen at moszumanska.debian.org
Wed Apr 20 18:50:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 2636401c1cce114989dabfa168898db4b6adf5ae
Author: David Capello <davidcapello at gmail.com>
Date: Wed Apr 13 09:02:04 2016 -0300
Remove gui.xml version check on release
This is sometimes useful on Debug builds, but it brings more problems
on Steam when we want to release a fix for a specific platform with
a modified version number.
---
src/app/app_menus.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/app/app_menus.cpp b/src/app/app_menus.cpp
index 216f821..e3c9f8b 100644
--- a/src/app/app_menus.cpp
+++ b/src/app/app_menus.cpp
@@ -1,5 +1,5 @@
// Aseprite
-// Copyright (C) 2001-2015 David Capello
+// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -75,9 +75,11 @@ void AppMenus::reload()
m_rootMenu.reset(loadMenuById(handle, "main_menu"));
+#if _DEBUG
// Add a warning element because the user is not using the last well-known gui.xml file.
if (GuiXml::instance()->version() != VERSION)
m_rootMenu->insertChild(0, createInvalidVersionMenuitem());
+#endif
LOG("Main menu loaded.\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list