Index: gtk+/modules/input/gtkimcontextxim.c
===================================================================
RCS file: /cvs/gnome/gtk+/modules/input/gtkimcontextxim.c,v
retrieving revision 1.32
diff -u -p -r1.32 gtkimcontextxim.c
--- gtk+/modules/input/gtkimcontextxim.c	15 Dec 2002 03:11:40 -0000	1.32
+++ gtk+/modules/input/gtkimcontextxim.c	15 Jan 2003 05:13:45 -0000
@@ -225,6 +225,7 @@ setup_styles (GtkXIMInfo *info)
   settings_preference = info->status_style_setting|info->preedit_style_setting;
   if (xim_styles)
     {
+      info->style = 0;
       for (i = 0; i < xim_styles->count_styles; i++)
 	if ((xim_styles->supported_styles[i] & ALLOWED_MASK) == xim_styles->supported_styles[i])
 	  {
