aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-10-18 15:08:19 +0000
committerBill Meier <wmeier@newsguy.com>2013-10-18 15:08:19 +0000
commit19f63eb2bd90ea7ff237331652ee35e5a75e7e42 (patch)
tree750b78b24f1177c73e35e436fcb8945ef3d8a3c2 /color_filters.c
parent4578df790df9ef9485869e78c05b5522f8ad1f9e (diff)
Revert SVN #52650 as per discussion on wireshark-dev
svn path=/trunk/; revision=52671
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/color_filters.c b/color_filters.c
index 7669c0e4e7..ae894363d3 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -122,7 +122,7 @@ color_filters_add_tmp(GSList **cfl)
colorf = color_filter_new(name, NULL, &bg_color, &fg_color, TRUE);
colorf->filter_text = g_strdup("frame");
colorf->c_colorfilter = NULL;
- *cfl = g_slist_prepend(*cfl, colorf);
+ *cfl = g_slist_append(*cfl, colorf);
g_free(name);
}
@@ -269,7 +269,7 @@ color_filter_list_clone_cb(gpointer filter_arg, gpointer cfl_arg)
color_filter_t *new_colorf;
new_colorf = color_filter_clone((color_filter_t *)filter_arg);
- *cfl = g_slist_prepend(*cfl, new_colorf);
+ *cfl = g_slist_append(*cfl, new_colorf);
}
/* clone the specified list */
@@ -604,7 +604,7 @@ read_filters_file(FILE *f, gpointer user_data)
/* internal call */
colorf->c_colorfilter = temp_dfilter;
- *cfl = g_slist_prepend(*cfl, colorf);
+ *cfl = g_slist_append(*cfl, colorf);
} else {
/* external call */
/* just editing, don't need the compiled filter */