ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Native Windows update

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: Fri, 23 Jul 2004 13:53:04 -0700 (PDT)
Guy Harris said:
> "capture_combo_utils.c" doesn't really belong in the gtk directory, as
> nothing in it depends on GTK+.  I'm not sure what the right way to have
> stuff in the GUI-dependent subdirectories use stuff from a common
> directory is, but we should probably move "capture_combo_utils.c"
> elsewhere (I'm replacing the include of <gtk/gtk.h> in it with an include
> of <glib.h>).

The code to read and write color filters should probably be moved out of
gtk as well, although it might need a callback to handle allocation of the
colors (that callback might be null on some platforms, if the allocation
isn't needed).