Re: [gtk-osx-users] GTK_LOCALEDIR in App Bundle
- From: John Ralls <jralls ceridwen us>
- To: Joshua Pettus <jshpettus gmail com>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] GTK_LOCALEDIR in App Bundle
- Date: Thu, 4 Dec 2014 07:07:25 -0800
On Dec 3, 2014, at 10:45 PM, Joshua Pettus <jshpettus gmail com> wrote:
Quick question: is there a way to set GTK_LOCALEDIR in the gtk launcher script? or can this only be set at
buildtime?
If that’s the case, then no big problem as I have a workaround, but just curious if there is a better way.
Consequence of using macports rather then the established tools I’m sure.
No, GTK_LOCALEDIR is a C macro not an environment variable. If you build Gtk+ with --enable-quartz-relocation
(assuming you're building for quartz and not X11), GTK_LOCALEDIR is redefined to _gtk_get_locale_dir(), which
uses NSBundle lookup to find the share/locale directory.
Regards,
John Ralls
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]