Re: GTK+-2.1.1 released [unstable]



younker <younker dreamscope com cn> writes:

> Hi, I compiled gtk+-2.1.1 just now, but the gtkimcontextxim.c also has some 
> problem, I use the gtk-demo app to debug and the backtrace is list below:
> 
> Starting program: /opt/src/gnome2/gtk+-2.1.1/demos/gtk-demo/.libs/gtk-demo
> my environment is Redhat 8.0 and use gcc 3.2 to compile it.
> I have installed pango 1.1.2 already.

Fixed in CVS now -- see the end of 

 http://bugzilla.gnome.org/show_bug.cgi?id=87482

I've attached the fix below.

Regards,
                                        Owen

Index: modules/input/gtkimcontextxim.c
===================================================================
RCS file: /cvs/gnome/gtk+/modules/input/gtkimcontextxim.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- modules/input/gtkimcontextxim.c	14 Oct 2002 19:19:08 -0000	1.27
+++ modules/input/gtkimcontextxim.c	15 Oct 2002 13:56:27 -0000	1.28
@@ -370,6 +370,7 @@ get_im (GdkWindow *client_window,
 	  info->settings = NULL;
 	  info->preedit_set = 0;
 	  info->status_set = 0;
+	  info->ics = NULL;
 
 	  setup_im (info);
 
@@ -1244,7 +1245,7 @@ status_window_get (GtkIMContextXIM *cont
 
   window = status_window->window;
 
-  gtk_window_set_resizable (GTK_WINDOW (status_window), FALSE);
+  gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
   gtk_widget_set_app_paintable (window, TRUE);
 
   status_label = gtk_label_new ("");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]