diff -Nur gtk+-2.0.6-bak/modules/input/gtkimcontextxim.c gtk+-2.0.6/modules/input/gtkimcontextxim.c
--- gtk+-2.0.6-bak/modules/input/gtkimcontextxim.c	Thu Jul 11 03:26:33 2002
+++ gtk+-2.0.6/modules/input/gtkimcontextxim.c	Tue Oct  8 00:07:10 2002
@@ -216,7 +216,7 @@
       if (im)
 	{
 	  info = g_new (GtkXIMInfo, 1);
-	  open_ims = g_slist_prepend (open_ims, im);
+	  open_ims = g_slist_prepend (open_ims, info);
 	  
 	  info->locale = g_strdup (locale);
 	  info->im = im;
