Jim Segrave wrote:
> On Sun 29 Jan 2006 (09:17 +0000), Jon Kinsey wrote:
>> I have just had a quick look.  Try checking the value of nMaxWidth in
>> gtkgamelist.c - line 287.  If this is wrong (i.e. huge - it's 158 here)
>> that may be the cause...
> 
> Yes, the value of nMaxWidth was  all over the place  for the string '99' and
> several thousand for the position ID string. A hack around was to put
> arbitrary values in = 24 for the first string, 224 or somesuch for the
> second, that returns me to a normal looking display.
> 
> Googling suggests that the code for setting the column widths is
> deprecated and some reports about compiling ethereal also suggest
> widget size errors.
> 
> gtk_style_get_font( psCurrent )
>  is deprecated, and should be (I think) psCurrent->font
> 
> but gdk_string_width appears to be the real culprit- apparently you're
> supposed to use a pango call, something like pango_layout() or somesuch

I've replaced these calls.

Jon


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to