freebsd-ports/x11-toolkits/gtk30/files/patch-ad
2001-10-24 08:23:29 +00:00

23 lines
746 B
Text

$FreeBSD$
--- gtk/gtkrc.c.orig Fri Sep 21 22:06:14 2001
+++ gtk/gtkrc.c Wed Oct 24 10:31:00 2001
@@ -359,7 +359,7 @@
result = g_strdup (im_module_file);
else
#ifndef G_OS_WIN32
- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
+ result = g_build_filename (GTK_DATA_PREFIX, "etc", "gtk-2.0", "gtk.immodules", NULL);
#else
result = g_build_filename (get_gtk_win32_directory ("gtk-2.0"), "gtk.immodules", NULL);
#endif
@@ -453,7 +453,7 @@
else
{
#ifndef G_OS_WIN32
- str = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtkrc", NULL);
+ str = g_build_filename (GTK_SYSCONFDIR, "gtkrc", NULL);
#else
str = g_build_filename (get_gtk_win32_directory (""), "gtkrc", NULL);
#endif