aboutsummaryrefslogtreecommitdiffstats
path: root/filters.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-04 00:45:39 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-04 00:45:39 +0000
commit64bc566ea87ea13d92bf505ed17245e0d18eae69 (patch)
tree6ce663d9714ee34c06a81a25dbc833864b67ea98 /filters.c
parent78191a09b5cd5840a8cc94879094f63b808ba1e8 (diff)
In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assign
its value to pointer-to-const variables. svn path=/trunk/; revision=9161
Diffstat (limited to 'filters.c')
-rw-r--r--filters.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/filters.c b/filters.c
index 07d72b03c5..aa58bcad4c 100644
--- a/filters.c
+++ b/filters.c
@@ -1,7 +1,7 @@
/* filters.c
* Code for reading and writing the filters file.
*
- * $Id: filters.c,v 1.15 2002/08/28 21:00:06 jmayer Exp $
+ * $Id: filters.c,v 1.16 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -364,7 +364,8 @@ get_filter_list_first(filter_list_type_t list)
* Returns a pointer to the newly-added entry.
*/
GList *
-add_to_filter_list(filter_list_type_t list, char *name, char *expression)
+add_to_filter_list(filter_list_type_t list, const char *name,
+ const char *expression)
{
GList **flp;
filter_def *filt;