diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-22 14:09:08 +0000 |
commit | ef3f477d42156b0c9994f1de3f85cf052448e52c (patch) | |
tree | d776b22042f2a68dd2d085148389cb358dd343b2 /protocols/Sametime/src/glib/gwin32.c | |
parent | dbc42a362991cff4ec4a7499b95b36167ebb43d0 (diff) |
- project cleaning
- warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8687 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 |