summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/files/patch-ad
blob: 856950d64f3d25aeecdf2243ef56e67d6f73dee9 (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: ports/x11-toolkits/gtk20/files/patch-ad,v 1.12 2003/02/07 18:42:22 marcus Exp $

--- 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);