1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/gtk30/files/patch-ad
1999-01-05 00:58:09 +00:00

46 lines
1.6 KiB
Plaintext

--- gtk/gtkrc.c.orig Mon Jan 4 17:33:28 1999
+++ gtk/gtkrc.c Tue Jan 5 07:41:04 1999
@@ -223,9 +223,9 @@
var = getenv("GTK_EXE_PREFIX");
if (var)
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
+ path = g_strdup_printf("%s%s", var, "/share/themes/engines");
else
- path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/lib/gtk/themes/engines");
+ path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/share/themes/engines");
return path;
}
@@ -238,9 +238,9 @@
var = getenv("GTK_DATA_PREFIX");
if (var)
- path = g_strdup_printf("%s%s", var, "/share/gtk/themes");
+ path = g_strdup_printf("%s%s", var, "/share/themes");
else
- path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes");
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/themes");
for (n = 0; pixmap_path[n]; n++) ;
if (n >= GTK_RC_MAX_PIXMAP_PATHS - 1)
@@ -274,15 +274,15 @@
var = getenv("GTK_EXE_PREFIX");
if (var)
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
+ path = g_strdup_printf("%s%s", var, "/share/themes/engines");
else
- path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/lib/gtk/themes/engines");
+ path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/share/themes/engines");
module_path[n++] = g_strdup(path);
g_free(path);
var = getenv("HOME");
if (var)
- path = g_strdup_printf("%s%s", var, ".gtk/lib/themes/engines");
+ path = g_strdup_printf("%s%s", var, ".gtk/themes/engines");
module_path[n++] = g_strdup(path);
module_path[n] = NULL;
g_free(path);