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 /ui/gtk/prefs_font_color.c | |
parent | f7b3bda9b3957d8b479d0d7d5694ea6364ecb1a8 (diff) | |
download | wireshark-93f9416c3660b87896e8b59a4d952fb851002bb5.tar.gz |
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 'ui/gtk/prefs_font_color.c')
-rw-r--r-- | ui/gtk/prefs_font_color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/prefs_font_color.c b/ui/gtk/prefs_font_color.c index fafe0f07b9..a2486eeea1 100644 --- a/ui/gtk/prefs_font_color.c +++ b/ui/gtk/prefs_font_color.c @@ -98,7 +98,7 @@ static void update_font(PangoFontDescription *, GtkWidget *, GtkWidget *); static void update_text_color(GObject *obj, GParamSpec *pspec, gpointer data); static void update_current_color(GtkWidget *, gpointer); -static const color_t filter_text_fg_color = {0, 0, 0, 0}; /* black */ +static const color_t filter_text_fg_color = {0, 0, 0}; /* black */ static GdkXxx tcolors[MAX_IDX], filter_text_fg, *curcolor = NULL; #if ! GTK_CHECK_VERSION(3,4,0) |