summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk13/files/patch-ad
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-14 12:16:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-14 12:16:43 +0000
commit2a1b69718935cfe20e9151f9c47d4adc42c3b44a (patch)
tree9706790d45e2578f061270cdd82c78ff8a4fde5b /x11-toolkits/gtk13/files/patch-ad
parentUpdate to 0.16. (diff)
Update to 1.3.5.
Diffstat (limited to 'x11-toolkits/gtk13/files/patch-ad')
-rw-r--r--x11-toolkits/gtk13/files/patch-ad20
1 files changed, 16 insertions, 4 deletions
diff --git a/x11-toolkits/gtk13/files/patch-ad b/x11-toolkits/gtk13/files/patch-ad
index 1a33f494a20d..592577b0bd6c 100644
--- a/x11-toolkits/gtk13/files/patch-ad
+++ b/x11-toolkits/gtk13/files/patch-ad
@@ -1,11 +1,23 @@
---- gtk/gtkrc.c.orig Fri Jul 14 23:18:03 2000
-+++ gtk/gtkrc.c Tue Jul 18 13:41:40 2000
-@@ -392,7 +392,7 @@
+
+$FreeBSD$
+
+--- gtk/gtkrc.c.orig Sun Apr 29 00:15:37 2001
++++ gtk/gtkrc.c Mon May 14 14:49:02 2001
+@@ -333,7 +333,7 @@
+ result = g_strdup (im_module_file);
+ else
+ #ifndef G_OS_WIN32
+- result = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtk.immodules");
++ result = g_strdup (GTK_DATA_PREFIX G_DIR_SEPARATOR_S "etc" G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtk.immodules");
+ #else
+ result = g_strdup_printf ("%s\\gtk.immodules", g_win32_get_package_installation_directory (GETTEXT_PACKAGE, get_gtk_dll_name ()));
+ #endif
+@@ -439,7 +439,7 @@
else
{
#ifndef G_OS_WIN32
- str = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtkrc");
+ str = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtkrc");
#else
- str = g_strdup_printf ("%s\\gtkrc", get_gtk_sysconf_directory ());
+ str = g_strdup_printf ("%s\\gtkrc", g_win32_get_package_installation_directory (GETTEXT_PACKAGE, get_gtk_dll_name ()));
#endif