From ef3f477d42156b0c9994f1de3f85cf052448e52c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 22 Mar 2014 14:09:08 +0000 Subject: - project cleaning - warning fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Sametime/src/glib/gwin32.c | 54 ------------------------------------ 1 file changed, 54 deletions(-) (limited to 'protocols/Sametime/src/glib/gwin32.c') 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 -- cgit v1.2.3