diff --git a/src/spek-audio.c b/src/spek-audio.c index e264926..41ac57b 100644 --- a/src/spek-audio.c +++ b/src/spek-audio.c @@ -22,8 +22,6 @@ #include #include -#include "spek-platform.hh" - #include "spek-audio.h" struct spek_audio_context diff --git a/src/spek-platform.cc b/src/spek-platform.cc index 8595361..e998250 100644 --- a/src/spek-platform.cc +++ b/src/spek-platform.cc @@ -68,12 +68,3 @@ double SpekPlatform::font_scale() return 1.0; #endif } - -char * spek_platform_short_path(const char *path) -{ -#ifdef OS_WIN - wxFileName file_name(wxString(path, wxConvUTF8)); - return strdup(file_name.GetShortPath().char_str(wxConvFile)); -#endif - return NULL; -} diff --git a/src/spek-platform.hh b/src/spek-platform.hh index 8368318..610ba4c 100644 --- a/src/spek-platform.hh +++ b/src/spek-platform.hh @@ -19,7 +19,6 @@ #ifndef SPEK_PLATFORM_HH_ #define SPEK_PLATFORM_HH_ -#ifdef __cplusplus #include class SpekPlatform @@ -39,14 +38,4 @@ public: static double font_scale(); }; -extern "C" { -#endif - -// Returns a 8.3 version of the UTF8-encoded path on Windows and NULL on other platforms. -char * spek_platform_short_path(const char *path); - -#ifdef __cplusplus -} -#endif - #endif