]> Pileus Git - ~andy/gtk/commit
Proper fix for #396175:
authorTor Lillqvist <tml@novell.com>
Wed, 17 Jan 2007 01:18:42 +0000 (01:18 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 17 Jan 2007 01:18:42 +0000 (01:18 +0000)
commite6a490588f42c59cf09edda2f714820a6a394223
tree12599d946c21be2207f98f0743f5dceea42e2817
parent2955a65dd7e839ebdaadf98829913971ab6f131f
Proper fix for #396175:

2007-01-17  Tor Lillqvist  <tml@novell.com>

Proper fix for #396175:

* gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
include gtkprivate.h. On Win32 we do want to use the redefinition
of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().

* gtk/gtkimmodule.c: Instead, correct the prefix also on
simple_context_info.domain_dirname. Do the prefix corrections
always on Win32, not just when GTK_LIBDIR is defined. i.e., until
now they were done only in the autoconfiscated gcc builds. Hans
needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
in MSVC builds now.
(correct_localedir_prefix): New function, like
correct_libdir_prefix(), but for GTK_LOCALEDIR.
(_gtk_im_module_list): Call correct_localedir_prefix() on
simple_context_info.domain_dirname.

svn path=/trunk/; revision=17161
ChangeLog
gtk/gtkimmodule.c
gtk/gtkimmulticontext.c