summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/window-save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/window-save.c b/src/fe-common/core/window-save.c
index ba204383..175389c1 100644
--- a/src/fe-common/core/window-save.c
+++ b/src/fe-common/core/window-save.c
@@ -77,10 +77,10 @@ static void window_add_items(WINDOW_REC *window, CONFIG_NODE *node)
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
CONFIG_NODE *node = tmp->data;
- type = config_node_get_str(node->value, "type", NULL);
+ type = config_node_get_str(node, "type", NULL);
if (type != NULL) {
signal_emit("window restore item", 3,
- window, type, node->value);
+ window, type, node);
}
}
}