diff options
Diffstat (limited to 'protocols/Sametime/src/glib/gwin32.c')
-rw-r--r-- | protocols/Sametime/src/glib/gwin32.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/protocols/Sametime/src/glib/gwin32.c b/protocols/Sametime/src/glib/gwin32.c index 9ba02ad752..88e9a4b4ff 100644 --- a/protocols/Sametime/src/glib/gwin32.c +++ b/protocols/Sametime/src/glib/gwin32.c @@ -393,38 +393,6 @@ g_win32_get_package_installation_directory_utf8 (const gchar *package, return result; } -#if !defined (_WIN64) - -/* DLL ABI binary compatibility version that uses system codepage file names */ - -gchar * -g_win32_get_package_installation_directory (const gchar *package, - const gchar *dll_name) -{ - gchar *utf8_package = NULL, *utf8_dll_name = NULL; - gchar *utf8_retval, *retval; - - if (package != NULL) - utf8_package = g_locale_to_utf8 (package, -1, NULL, NULL, NULL); - - if (dll_name != NULL) - utf8_dll_name = g_locale_to_utf8 (dll_name, -1, NULL, NULL, NULL); - - utf8_retval = - g_win32_get_package_installation_directory_utf8 (utf8_package, - utf8_dll_name); - - retval = g_locale_from_utf8 (utf8_retval, -1, NULL, NULL, NULL); - - g_free (utf8_package); - g_free (utf8_dll_name); - g_free (utf8_retval); - - return retval; -} - -#endif - /** * g_win32_get_package_installation_subdirectory: * @package: You should pass %NULL for this. @@ -470,28 +438,6 @@ g_win32_get_package_installation_subdirectory_utf8 (const gchar *package, return dirname; } -#if !defined (_WIN64) - -/* DLL ABI binary compatibility version that uses system codepage file names */ - -gchar * -g_win32_get_package_installation_subdirectory (const gchar *package, - const gchar *dll_name, - const gchar *subdir) -{ - gchar *prefix; - gchar *dirname; - - prefix = g_win32_get_package_installation_directory (package, dll_name); - - dirname = g_build_filename (prefix, subdir, NULL); - g_free (prefix); - - return dirname; -} - -#endif - static guint windows_version; static void |