[Gtranslator-devel] Good NEWS



Hi,

I know You like good news :)

This weekend I found workaroud for the bug about I have been singing half
a Year:

In gtk+1.2 library there is bug related with GtkText. When calling inside
signal handlers "delete-text" or "insert-text"
gtk_text_forward/backward_delete() to delete exactly 1 character and the
user pointer is at the same location then the library functions will run
into segfault - this is not 100% bulletproof but this seems to be the most
probable situation. There might be 2-nd order factors important like the
color is different than lately used and before this update many updates
has been made. So, when changing color of the only one character by
updating highlighting information so that the character from user pointer
location will be removed and then redrawn with different color
information, then the segfault will occur.

Workaround will make highlighting update in event "changed" and this seems
to be stable.

I need time for correcting this in gtranslator, as I am busy man these
days. Or has someone else time before this weekend ...

Best Regards ...

      Peeter Vois
http://my.tele2.ee/vois




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