From d8c3ca3181470ca18f1cc9ccffebced82f2fc510 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Sat, 30 Mar 2019 22:46:47 +0100 Subject: Usage of get_program_dir() is more appropriate here It points at the same folder currently, but this will change with https://gitlab.com/inkscape/inkscape/issues/82 --- src/inkscape-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inkscape-main.cpp') diff --git a/src/inkscape-main.cpp b/src/inkscape-main.cpp index aab94542e..beb632fbd 100644 --- a/src/inkscape-main.cpp +++ b/src/inkscape-main.cpp @@ -43,7 +43,7 @@ static void set_extensions_env() #ifdef _WIN32 // add inkscape directory to DLL search path so dynamically linked extension modules find their libraries // should be fixed in Python 3.8 (https://github.com/python/cpython/commit/2438cdf0e932a341c7613bf4323d06b91ae9f1f1) - gchar *installation_dir = g_win32_get_package_installation_directory_of_module(NULL); + gchar *installation_dir = get_program_dir(); wchar_t *installation_dir_w = (wchar_t *)g_utf8_to_utf16(installation_dir, -1, NULL, NULL, NULL); SetDllDirectoryW(installation_dir_w); g_free(installation_dir); -- cgit v1.2.3