[Gtk2] About bug 11523: analysis and proper fix(es)

Luiz Americo Pereira Camara luizmed at oi.com.br
Sun Jul 13 13:26:31 CEST 2008


Mattias Gaertner wrote:
>> 2) Just compare the two strings using StrComp*
>>
>> * Is better to use StrLComp instead of StrComp
>>
>> But i lost the shortcut evaluation of length that prevents a string 
>> comparation. So...
>>
>> 3) Stores the old length in the layout object using a gquark* and 
>> compare both strings with comparebytes (i know that both strings are
>> the same size)
>>
>> ** The old length can be also stored in a field of font GdiObject
>>     
>
> I committed 2 in r15758.
>   

It seems you commited 3 (I see the g_quark stuff)

Luiz



More information about the Gtk2 mailing list