aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/cfilter_combo_utils.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-03-25 22:52:45 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-03-25 22:52:45 +0000
commit008d4b81067862dee3cfe71180688cfc66f81230 (patch)
treed5a082165e508052d0817ea4685d59c8ea2641a6 /gtk/cfilter_combo_utils.c
parentd46de2e0def09ecdb0a41f06f956c22e54d75f97 (diff)
code cleanup: the term filter_list was used with different meanings throughout the code, and the filter_list of the color_filters is "global".
use appropriate prefixes to avoid confusion and bugs svn path=/trunk/; revision=13905
Diffstat (limited to 'gtk/cfilter_combo_utils.c')
-rw-r--r--gtk/cfilter_combo_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/cfilter_combo_utils.c b/gtk/cfilter_combo_utils.c
index 3100a1f54c..a114530c63 100644
--- a/gtk/cfilter_combo_utils.c
+++ b/gtk/cfilter_combo_utils.c
@@ -65,12 +65,12 @@ cfilter_combo_add(gchar *s) {
* of the combo box GList to the user's recent file */
void
cfilter_combo_recent_write_all(FILE *rf) {
- GList *filter_list = OBJECT_GET_DATA(top_level, E_CFILTER_FL_KEY);
+ GList *cfilter_list = OBJECT_GET_DATA(top_level, E_CFILTER_FL_KEY);
GList *li;
guint max_count = 0;
- /* write all non empty display filter strings to the recent file (until max count) */
- li = g_list_first(filter_list);
+ /* write all non empty capture filter strings to the recent file (until max count) */
+ li = g_list_first(cfilter_list);
while ( li && (max_count++ <= cfilter_combo_max_recent) ) {
if (strlen(li->data)) {
fprintf (rf, RECENT_KEY_CAPTURE_FILTER ": %s\n", (char *)li->data);