summaryrefslogtreecommitdiffstats
path: root/src/prefix.h
diff options
context:
space:
mode:
authorEduard Braun <Eduard.Braun2@gmx.de>2017-06-15 16:12:00 +0000
committerEduard Braun <Eduard.Braun2@gmx.de>2017-06-15 17:14:58 +0000
commit1a66c0aae0da7c3b860d06e72f5ff87f444bc462 (patch)
tree10481b9018fbee27ddce4f033f1be64c628b75b3 /src/prefix.h
parentRemove cmake checks for unused libraries. (diff)
downloadinkscape-1a66c0aae0da7c3b860d06e72f5ff87f444bc462.tar.gz
inkscape-1a66c0aae0da7c3b860d06e72f5ff87f444bc462.zip
Improve Windows relocation support.
Remove a lot of unused / overly compicated path manipulation functions and replace them with a solution that also handles the case where inkscape.exe is located in a /bin subdirectory.
Diffstat (limited to 'src/prefix.h')
-rw-r--r--src/prefix.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/prefix.h b/src/prefix.h
index 7c5a1fd3c..fc01fd7ea 100644
--- a/src/prefix.h
+++ b/src/prefix.h
@@ -122,10 +122,9 @@ char *br_extract_prefix(const char *path);
#include <glibmm/ustring.h>
-Glib::ustring win32_getExePath();
-char *win32_relative_path(const char *childPath);
+char *win32_append_module_path(const char *relative_path);
-#define WIN32_DATADIR(suffix) (win32_relative_path(suffix))
+#define WIN32_DATADIR(suffix) (win32_append_module_path(suffix))
#endif