[Top][All Lists]

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

Re: [Bug-gnubg] Problems with current release and gtk 2.8

From: Jon Kinsey
Subject: Re: [Bug-gnubg] Problems with current release and gtk 2.8
Date: Thu, 02 Feb 2006 08:01:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050923 Thunderbird/1.0.7 Mnenhy/0.7

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.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]