Pango process_modules_file () module path
- From: John Ralls <jralls ceridwen fremont ca us>
- To: "gtk-i18n-list gnome org" <gtk-i18n-list gnome org>
- Subject: Pango process_modules_file () module path
- Date: Sat, 3 Nov 2012 10:36:08 -0700
Hey Behdad,
In pango/modules.c, process_modules_file() is the following phrase (line 453):
if (!g_path_is_absolute (tmp_buf->str)) {
const gchar *abs_file_name = g_build_filename (module_file_dir, tmp_buf->str, NULL);
g_string_assign (tmp_buf, abs_file_name);
g_free ((gpointer) abs_file_name);
}
Aside from the formatting, my issue is that it's setting the path to be the same as the module file (i.e., pango.modules), which make install puts in $PREFIX/etc/pango. That isn't right, is it? Shouldn't it be setting the path to $PREFIX/lib/pango/${pango_version}/modules, which is where make install puts the modules?
Regards,
John Ralls
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]