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

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 13 13:37:06 CEST 2008


On Sun, 13 Jul 2008 08:26:31 -0300
Luiz Americo Pereira Camara <luizmed at oi.com.br> wrote:

> 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)

Changed in 15761.


Mattias



More information about the Gtk2 mailing list