summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20/files/patch-ad
blob: 59fee01c497342bf9b0e72ccf608c0c1241a64c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$FreeBSD$

--- gtk/gtkrc.c.orig	Thu Dec 13 21:51:18 2001
+++ gtk/gtkrc.c	Fri Jan 18 11:14:14 2002
@@ -336,7 +336,7 @@
       if (im_module_file)
 	result = g_strdup (im_module_file);
       else
-	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);
     }
 
   return result;
@@ -418,7 +418,7 @@
     }
   else
     {
-      str = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtkrc", NULL);
+      str = g_build_filename (GTK_SYSCONFDIR, "gtk", NULL);
 
       gtk_rc_add_default_file (str);
       g_free (str);