--- ./gtk/gtkrc.c Thu Mar 15 13:41:40 2001 +++ ../gtk+-1.2.10/./gtk/gtkrc.c Thu Aug 30 17:00:59 2001 @@ -39,6 +39,17 @@ #include "gtkthemes.h" #include "gtkintl.h" +#define ABILIB "lib" +#ifdef _MIPS_SIM +# if (_MIPS_SIM == _MIPS_SIM_NABI32) +# undef ABILIB +# define ABILIB "lib32" +# elif (_MIPS_SIM == _MIPS_SIM_ABI64) +# undef ABILIB +# define ABILIB "lib64" +# endif +#endif + typedef struct _GtkRcSet GtkRcSet; typedef struct _GtkRcNode GtkRcNode; typedef struct _GtkRcFile GtkRcFile; @@ -245,7 +256,7 @@ 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, "/" ABILIB "/gtk/themes/engines"); else path = g_strdup_printf("%s%s", GTK_LIBDIR, "/gtk/themes/engines"); @@ -287,7 +298,7 @@ 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, "/" ABILIB "/gtk/themes/engines"); else path = g_strdup_printf("%s%s", GTK_LIBDIR, "/gtk/themes/engines"); module_path[n++] = path; @@ -294,7 +305,7 @@ var = g_get_home_dir (); if (var) - module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/lib/themes/engines"); + module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/" ABILIB "/themes/engines"); module_path[n] = NULL; }