Re: [gtk-list] bug?



This bug may be fixed by following patch.  (gtk_entry_update_ic_attr ())


*** gtk+-1.1.12/gtk/gtkentry.c  Thu Dec 17 11:47:56 1998
--- gtk+-1.1.12.new/gtk/gtkentry.c      Sat Jan  9 11:56:04 1999
***************
*** 2197,2202 ****
--- 2197,2205 ----
    GtkEditable *editable = (GtkEditable *) widget;
    GdkICAttributesType mask = 0;

+   if (editable->ic == NULL)
+     return;
+
    gdk_ic_get_attr (editable->ic, editable->ic_attr,
                   GDK_IC_PREEDIT_FOREGROUND |
                   GDK_IC_PREEDIT_BACKGROUND |



                                  -Takashi Matsuda
                                   matsu@arch.comp.kyutech.ac.jp


xs@blood.atom.ru writes:

| Hi there!
| 
| Can anyone tell me what is this :
| 
| [xs@blood gtk]$ ./testgtk
| 
| Gdk-CRITICAL **: file gdkim.c: line 1181 (gdk_ic_get_attr): assertion 	c != NULL' failed.
| Segmentation fault (core dumped)
| [xs@blood gtk]$
| 
| I'm getting this thing since GTK+ 1.1.10 up to current CVS version. It happens when
| in "testgtk" you run "Font Selection" and change font in dialog. Also it is with
| GIMP (cvs) when opening files... 



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