Ethereal-dev: Re: [Ethereal-dev] gtk header file location

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

Date: Wed, 22 Nov 2000 09:57:08 +0900
>> 	with the latest build tree, I get the following error.
>> 	it seems to me that epan/Makefile should include GTK_CFLAGS and some
>> 	other items, so that we can refer to gtk/gtk.h correctly.
>> 	(sorry i'm novice in automake arena, no fix is provided)
>Or maybe we should simply arrange that one isn't obliged to include GTK+
>headers in non-GUI code that just wants to refer to the user's
>preferences.
>
>I've just checked in a change to do that; "prefs.h" now refers to colors
>as "color_t" structures, declared in "color.h" - currently, a "color_t"
>looks just like a GdkColor (but doesn't require any GTK/GDK headers for
>its definition), but we may change that in the future if we support more
>than just GDK (Qt/KDE, Windows/MFC, curses - versions of curses
>compatible with recent System V curses support color).

	thank you, the tree now compiles fine for me.

itojun