aboutsummaryrefslogtreecommitdiffstats
path: root/colors.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-19 09:22:19 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-19 09:22:19 +0000
commit467aa5438504d910cb3f3e811b4c1dda42cd7442 (patch)
tree33ed440b0582277723f0496cc531e6cace70e969 /colors.h
parent8d1edc855cab50e185e1681869a76df10c56feb9 (diff)
Don't keep the CList of color filters around; create it when the
"Colorize Display" dialog box is created, and let it be destoryed when that dialog box is destroyed. When moving color filters up or down, update the (order of the elements in the) list of color filters, as well as the CList that displays them. If we have a "Colorize Display" dialog box open, and the user selects "Display:Colorize Display", raise the existing window, rather than creating a new window. (Alas, GTK+ doesn't have a call to request that the window be given the input focus, so we can't do that as well.) Fix up some names to be more consistent and to better reflect what the variables/routines are for. svn path=/trunk/; revision=1361
Diffstat (limited to 'colors.h')
-rw-r--r--colors.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/colors.h b/colors.h
index 68c4e97167..2fe98f74e5 100644
--- a/colors.h
+++ b/colors.h
@@ -1,7 +1,7 @@
/* colors.h
* Definitions for color structures and routines
*
- * $Id: colors.h,v 1.9 1999/12/19 07:28:35 guy Exp $
+ * $Id: colors.h,v 1.10 1999/12/19 09:22:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -60,15 +60,12 @@ typedef struct _color_filter {
extern GSList *filter_list;
typedef struct _colfilter {
- GtkWidget *color_filters;
gint num_of_filters; /* first num_of_filters rows filled */
gint row_selected; /* row in color_filters that is selected */
} colfilter;
colfilter *colfilter_new(void);
-color_filter_t *color_filter(gint n);
-
/* ===================== USER INTERFACE ====================== */
void