Ethereal-dev: Re: [Ethereal-dev] GTK+ v2 port

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 31 Aug 2002 12:40:24 -0700
(Is "oabad@xxxxxxx" your current e-mail address?  If so, AUTHORS and
doc/ethereal.pod.template should be updated.)

On Sat, Aug 31, 2002 at 12:11:23PM +0200, Olivier Abad wrote:
> I just committed my work on the GTK+ v2 port in CVS. Here is the checkin
> message for those who don't read ethereal-cvs.

How much of the stuff in the gtk and gtk2 directories could be shared? 
If there's anything unchanged between GTK+ 1.2[.x] and GTK+ 2, or
changed in small ways so that #ifdefs could handle them without too much
pain, perhaps there should be directories

	gtk - contains stuff shared by GTK+ 1.2[.x] and GTK+ 2 versions;
	gtk12 - contains stuff for the GTK+ 1.2[.x] version;
	gtk2 - contains stuff for the GTK+ 2 version.

(If any of the stuff that's shared is shared because it doesn't use any
GTK+ stuff *at all*, and would work the same on *any* UI, perhaps it
belongs in a directory of routines that can be shared by all Ethereal
UIs.)

>   Remaining problems :
>   - gtk_font_selection_dialog_set_filter doesn't exist anymore (but
>     hasn't been removed from the documentation).

Well, that sucks.  You might want to let the GTK+ folks know that the
on-line documentation isn't up-to-date.

>     I don't know how to
>     filter the font selection dialog to get only fixed width fonts ;

You might want to ask on the gtk-app-devel-list how you'd do that (and
point out that it *is* useful).