Index: pango/querymodules.c
===================================================================
RCS file: /cvs/gnome/pango/pango/querymodules.c,v
retrieving revision 1.29
diff -u -w -r1.29 querymodules.c
--- pango/querymodules.c	14 Jan 2006 07:00:11 -0000	1.29
+++ pango/querymodules.c	2 Feb 2006 08:32:19 -0000
@@ -186,7 +186,7 @@
 {
   char *cwd;
   int i;
-  char *path;
+  char *path, *mainpath, *graphitepath;
 
   g_type_init ();
   
@@ -201,10 +201,20 @@
       
       path = pango_config_key_get ("Pango/ModulesPath");
       if (!path)
-	path = g_build_filename (pango_get_lib_subdirectory (),
+        {
+          mainpath = g_build_filename (pango_get_lib_subdirectory (),
+				 MODULE_VERSION,
+				 "modules",
+				 NULL);
+          graphitepath = g_build_filename (pango_get_lib_subdirectory (),
 				 MODULE_VERSION,
 				 "modules",
+				 "graphite",
 				 NULL);
+          path = g_strconcat(mainpath, ":", graphitepath, NULL);	
+          g_free(mainpath);
+          g_free(graphitepath);
+        }
 
       g_printf ("# ModulesPath = %s\n#\n", path);
 
