1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-toolkits/gtk20/files/patch-ad
Jun Kuriyama 3eba3aa50a Upgrade to 1.2.2.
I don't know all of the gtk dependency. If it breaks some ports,
please back this out.
1999-05-02 05:21:27 +00:00

55 lines
1.8 KiB
Plaintext

--- gtk/gtkrc.c.orig Wed Apr 14 05:20:09 1999
+++ gtk/gtkrc.c Sun May 2 13:27:23 1999
@@ -231,9 +231,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;
}
@@ -246,9 +246,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)
@@ -282,15 +282,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 = g_get_home_dir ();
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);
@@ -324,7 +324,7 @@
}
else
{
- str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtk/gtkrc");
+ str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtkrc");
gtk_rc_add_default_file (str);
g_free (str);