openbsd-ports/x11/gtk+2/patches/patch-gdk-pixbuf_gdk-pixbuf-io_c

13 lines
529 B
Plaintext

$OpenBSD: patch-gdk-pixbuf_gdk-pixbuf-io_c,v 1.3 2005/05/24 21:29:11 marcm Exp $
--- gdk-pixbuf/gdk-pixbuf-io.c.orig Sun Dec 5 04:43:47 2004
+++ gdk-pixbuf/gdk-pixbuf-io.c Wed Mar 30 21:27:26 2005
@@ -258,7 +258,7 @@ gdk_pixbuf_get_module_file (void)
gchar *result = g_strdup (g_getenv ("GDK_PIXBUF_MODULE_FILE"));
if (!result)
- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gdk-pixbuf.loaders", NULL);
+ result = g_build_filename ("/var/db", "gtk-2.0", "gdk-pixbuf.loaders", NULL);
return result;
}