diff --git a/libs/kiplatform/gtk/environment.cpp b/libs/kiplatform/gtk/environment.cpp index 1a87bcb56e..41919d756d 100644 --- a/libs/kiplatform/gtk/environment.cpp +++ b/libs/kiplatform/gtk/environment.cpp @@ -18,6 +18,7 @@ * with this program. If not, see . */ +#include #include #include @@ -49,5 +50,5 @@ bool KIPLATFORM::ENV::IsNetworkPath( const wxString& aPath ) wxString KIPLATFORM::ENV::GetDocumentsDir() { - return wxStandardPaths::Get().GetDocumentsDir(); + return g_get_user_special_dir( G_USER_DIRECTORY_DOCUMENTS ); } \ No newline at end of file