diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-07-24 01:16:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-07-24 01:16:45 +0000 |
commit | e62e05a80a778fe06d07bfc8a449a6b953213f4d (patch) | |
tree | 457adb15ffe836810d4a3381323ad457e596a5b0 /color.h | |
parent | d5425a709a89d182645944ac72f64d579858bdf3 (diff) | |
download | wireshark-e62e05a80a778fe06d07bfc8a449a6b953213f4d.tar.gz wireshark-e62e05a80a778fe06d07bfc8a449a6b953213f4d.tar.bz2 wireshark-e62e05a80a778fe06d07bfc8a449a6b953213f4d.zip |
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.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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); |