[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: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Problems with current release and gtk 2.8 |
Date: |
Wed, 1 Feb 2006 00:58:58 +0100 |
User-agent: |
Mutt/1.4.2.1i |
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
--
Jim Segrave address@hidden