Ethereal-dev: Re: [ethereal-dev] AIX: gtk problem solved, now an ethereal problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 11 Nov 1999 11:50:23 -0800 (PST)
> The only differences between gtkclist.c in the gtk distribution and
> gtkclist.c in the ethereal distribution relate to the ROW_ELEMENT
> macro.  It looks like an optimization for retrieving the GList item
> when the requested row is the last row in the list.

Yup - as per my other mail, Ethereal does that rather a lot when
building the CList, and the optimization changes quadratic behavior to
linear behavior.

> Any ideas why this causes trouble?

Mismatches between the layouts of data structures as declared in the
"gtk/gtk*.h" files in the Ethereal source tree and the layouts as
declared in the header files in the GTK+ source (either due to header
file differences - although the header files appear to be identical to
the GTK+ 1.2.6 ones - or due to compiler behavior differences)?