Remove the Win9x code path. It had been left by mistake. Win9x code is
2009-01-12 Tor Lillqvist <tml@novell.com> * queryloaders.c (main): Remove the Win9x code path. It had been left by mistake. Win9x code is gone from the rest of GTK+ since 2.12. svn path=/branches/gtk-2-14/; revision=22097
This commit is contained in:
committed by
Tor Lillqvist
parent
3f2474a0d4
commit
c8ed73d818
@@ -1,3 +1,9 @@
|
||||
2009-01-12 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* queryloaders.c (main): Remove the Win9x code path. It had been
|
||||
left by mistake. Win9x code is gone from the rest of GTK+ since
|
||||
2.12.
|
||||
|
||||
2009-01-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.14.7 ===
|
||||
|
||||
@@ -230,16 +230,9 @@ int main (int argc, char **argv)
|
||||
* subdirectory of the installation directory, or in
|
||||
* the installation directory itself.
|
||||
*/
|
||||
if (G_WIN32_HAVE_WIDECHAR_API ()) {
|
||||
wchar_t fn[1000];
|
||||
GetModuleFileNameW (NULL, fn, G_N_ELEMENTS (fn));
|
||||
runtime_prefix = g_utf16_to_utf8 (fn, -1, NULL, NULL, NULL);
|
||||
}
|
||||
else {
|
||||
char fn[1000];
|
||||
GetModuleFileNameA (NULL, fn, G_N_ELEMENTS (fn));
|
||||
runtime_prefix = g_locale_to_utf8 (fn, -1, NULL, NULL, NULL);
|
||||
}
|
||||
wchar_t fn[1000];
|
||||
GetModuleFileNameW (NULL, fn, G_N_ELEMENTS (fn));
|
||||
runtime_prefix = g_utf16_to_utf8 (fn, -1, NULL, NULL, NULL);
|
||||
slash = strrchr (runtime_prefix, '\\');
|
||||
*slash = '\0';
|
||||
slash = strrchr (runtime_prefix, '\\');
|
||||
|
||||
Reference in New Issue
Block a user