diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-31 18:04:37 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-01 02:05:07 +0000 |
commit | 93f9416c3660b87896e8b59a4d952fb851002bb5 (patch) | |
tree | 26109e8503ac6ea7457a5b53f4f8aa398029a593 /epan/color_filters.h | |
parent | f7b3bda9b3957d8b479d0d7d5694ea6364ecb1a8 (diff) |
Get rid of the "pixel" member of a color_t.
Now that we're letting GTK+/GDK allocate colors behind the scenes, if it
allocates them at all, there's no reason to save the allocated color in
the toolkit-independent color value.
Change-Id: I99df32bd6b07924f41f3d855d2ddecb3dc8d5201
Reviewed-on: https://code.wireshark.org/review/12983
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/color_filters.h')
-rw-r--r-- | epan/color_filters.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/epan/color_filters.h b/epan/color_filters.h index 2fe8b018cb..a240a67862 100644 --- a/epan/color_filters.h +++ b/epan/color_filters.h @@ -32,15 +32,8 @@ struct epan_dissect; /* * Data structure holding RGB value for a color. - * - * XXX - yes, I know, there's a "pixel" value in there as well; for - * now, it's intended to look just like a GdkColor but not to require - * that any GTK+ header files be included in order to use it. - * The way we handle colors needs to be cleaned up somewhat, in order - * to keep toolkit-specific stuff separate from toolkit-independent stuff. */ typedef struct { - guint32 pixel; guint16 red; guint16 green; guint16 blue; |