1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-toolkits/gtk12/files/patch-ad

46 lines
1.6 KiB
Plaintext
Raw Normal View History

--- 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 @@
1998-12-26 19:17:44 +00:00
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");
1998-12-26 19:17:44 +00:00
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");
1998-12-26 19:17:44 +00:00
return path;
}
@@ -238,9 +238,9 @@
1998-12-26 19:17:44 +00:00
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");
1998-12-26 19:17:44 +00:00
else
- path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes");
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/themes");
1998-12-26 19:17:44 +00:00
for (n = 0; pixmap_path[n]; n++) ;
if (n >= GTK_RC_MAX_PIXMAP_PATHS - 1)
@@ -274,15 +274,15 @@
1998-12-26 19:17:44 +00:00
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");
1998-12-26 19:17:44 +00:00
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");
1998-12-26 19:17:44 +00:00
module_path[n++] = g_strdup(path);
module_path[n] = NULL;
1998-12-26 19:17:44 +00:00
g_free(path);