X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fapp.cpp;h=238e339a86a54aec9eacc0415575420d28362b74;hb=c8c1b343552d96b93ce9319ac24f009922197cd3;hp=205a0bda2f40a0008d7c0b18c2b38da5b08d765a;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git
diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp
index 205a0bd..238e339 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -2,7 +2,7 @@
/*! \file app.cpp
** \brief writeme
**
-** $Id: app.cpp,v 1.11 2005/03/24 21:47:28 darco Exp $
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -136,8 +136,10 @@ using namespace studio;
#ifndef SYNFIG_USER_APP_DIR
#ifdef __APPLE__
#define SYNFIG_USER_APP_DIR "Library/Synfig"
-#else
+#elif defined(_WIN32)
#define SYNFIG_USER_APP_DIR "Synfig"
+#else
+#define SYNFIG_USER_APP_DIR ".synfig"
#endif
#endif
@@ -350,7 +352,7 @@ public:
}
virtual bool
- amount_complete(int current, int total)
+ amount_complete(int /*current*/, int /*total*/)
{
while(studio::App::events_pending())studio::App::iteration(false);
return true;
@@ -456,7 +458,15 @@ int v_key_check(const char* key, U32* serial, U32 appid)
}
+#ifdef _WIN32
+# ifdef LICENSE_KEY_REQUIRED
int check_license(String basedir)
+# else
+int check_license(String /*basedir*/)
+# endif
+#else
+int check_license(String /*basedir*/)
+#endif
{
#ifdef LICENSE_KEY_REQUIRED
String key;
@@ -904,8 +914,6 @@ init_ui_manager()
" "
"
"
" "
@@ -918,6 +926,8 @@ init_ui_manager()
//" "
//" "
" "
+" "
+" "
" "
"