From a61e74714d99e7693f41a2148868563abca05659 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 28 Aug 2013 11:05:21 +0100 Subject: Give export walk ctx clearer name. --- desktop/hotlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 581075cdf..ae25e3fd6 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -838,14 +838,14 @@ static nserror hotlist_generate(void) } -struct treeview_walk_ctx { +struct treeview_export_walk_ctx { FILE *fp; }; /** Callback for treeview_walk node entering */ static nserror hotlist_export_enter_cb(void *ctx, void *node_data, enum treeview_node_type type, bool *abort) { - struct treeview_walk_ctx *tw = ctx; + struct treeview_export_walk_ctx *tw = ctx; if (type == TREE_NODE_ENTRY) { struct hotlist_entry *e = node_data; @@ -897,7 +897,7 @@ static nserror hotlist_export_enter_cb(void *ctx, void *node_data, static nserror hotlist_export_leave_cb(void *ctx, void *node_data, enum treeview_node_type type, bool *abort) { - struct treeview_walk_ctx *tw = ctx; + struct treeview_export_walk_ctx *tw = ctx; if (type == TREE_NODE_FOLDER) { fputs("\n", tw->fp); @@ -908,7 +908,7 @@ static nserror hotlist_export_leave_cb(void *ctx, void *node_data, /* Exported interface, documented in hotlist.h */ nserror hotlist_export(const char *path, const char *title) { - struct treeview_walk_ctx tw; + struct treeview_export_walk_ctx tw; nserror err; FILE *fp; -- cgit v1.2.3