From: John Darrington Date: Mon, 9 Aug 2010 18:05:17 +0000 (+0200) Subject: Relocate the directory in which the lang file is installed X-Git-Tag: v0.7.9~159^2~6 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d58554e17e97caea6871e5a8a5059dc72435a402;p=pspp-builds.git Relocate the directory in which the lang file is installed --- diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index f0a33dbf..7c70cbcb 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -16,6 +16,8 @@ #include +#include "relocatable.h" + #include #include #include "executor.h" @@ -115,7 +117,8 @@ psppire_syntax_window_class_init (PsppireSyntaxWindowClass *class) int n = g_strv_length (existing_paths); new_paths = g_realloc (new_paths, (n+1) * sizeof (*new_paths)); - new_paths[n] = g_strdup (PKGDATADIR); + + new_paths[n] = g_strdup (relocate (PKGDATADIR)); new_paths[n+1] = NULL; lm = gtk_source_language_manager_new ();