X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fapp.cpp;h=a9c95e3be907ebd95fa2d0913135f47da52fb8ec;hb=3ce4684ba034e0e9e3c7b78768560dcf31d07b12;hp=b201fa9dc5e4e9dd39b0ce4bebdee5f4df5a52d6;hpb=8f8a2139a0a6f405a4186dc05a4c1eca787794e4;p=synfig.git
diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp
index b201fa9..a9c95e3 100644
--- a/synfig-studio/trunk/src/gtkmm/app.cpp
+++ b/synfig-studio/trunk/src/gtkmm/app.cpp
@@ -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()
//" "
//" "
" "
+" "
+" "
" "
"