1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-toolkits/gtk13/files/patch-ad
Steve Price f888af4cee Update to version 1.2.3.
PR:		11842
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1999-05-29 03:49:46 +00:00

55 lines
1.8 KiB
Plaintext

--- gtk/gtkrc.c.orig Tue May 11 04:31:09 1999
+++ gtk/gtkrc.c Sat May 15 19:01:44 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);