aboutsummaryrefslogtreecommitdiffstats
path: root/color.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-07-24 01:16:45 +0000
committerGuy Harris <guy@alum.mit.edu>2004-07-24 01:16:45 +0000
commite62e05a80a778fe06d07bfc8a449a6b953213f4d (patch)
tree457adb15ffe836810d4a3381323ad457e596a5b0 /color.h
parentd5425a709a89d182645944ac72f64d579858bdf3 (diff)
Move the declaration of "color_add_filter_cb()" to "color.h", as,
although it currently takes a pointer to a GtkWidget as its second argument, that argument is actually a "void *", so it's sort-of toolkit-independent. That lets us get rid of all GTK+ references in "gtk/color_filters.c", so we can move it up to the top-level directory; get rid of the <gtk/gtk.h> include, in favor of a <glib.h> include. svn path=/trunk/; revision=11499
Diffstat (limited to 'color.h')
-rw-r--r--color.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/color.h b/color.h
index 56f9f1a909..043f3b07d8 100644
--- a/color.h
+++ b/color.h
@@ -4,10 +4,9 @@
* $Id$
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -72,6 +71,13 @@ typedef struct _color_filter {
extern GSList *filter_list;
extern GSList *removed_filter_list;
+/** Add a color filter.
+ *
+ * @param colorf the new color filter
+ * @param arg the color filter widget
+ */
+void color_add_filter_cb (color_filter_t *colorf, gpointer arg);
+
void
filter_list_prime_edt(epan_dissect_t *edt);