aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_list.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-24 00:35:13 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-24 00:35:13 +0000
commit34de3c15d994d65a99b65d0dd55b0e2208685b3b (patch)
tree40889b5cba6f301462f8498de380ddf094003047 /gtk/packet_list.c
parent8f79902cb339f422956fedac39037884ca6c8729 (diff)
Have "gtk/color_utils.c" contain routines with toolkit-independent APIs,
but toolkit-dependent implementations, for manipulating colors, and have "gtk/color_utils.h" declare them (the header file should eventually be moved to the top-level directory). Move the routines to convert between GdkColor and color_t out of there into "colors.c", and move their declarations into "colors.h", as their APIs are toolkit-dependent. Have the first such routine be a "create_color()" routine, which takes RGB values and initializes a "color_t", including doing any toolkit-dependent work necessary for that; use that in the "gtk/color_filters.c" code (the goal is to remove as many of the toolkit dependencies as possible from that code, and move it to the top-level directory). svn path=/trunk/; revision=11497
Diffstat (limited to 'gtk/packet_list.c')
-rw-r--r--gtk/packet_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c
index abf61293d4..ff996a3652 100644
--- a/gtk/packet_list.c
+++ b/gtk/packet_list.c
@@ -37,7 +37,7 @@
#include "ui_util.h"
#include "main.h"
#include "menu.h"
-#include "color_utils.h"
+#include "colors.h"
#include "column.h"
#include "epan/column_info.h"
#include "compat_macros.h"