summaryrefslogtreecommitdiff
path: root/openbox/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/parse.c')
-rw-r--r--openbox/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/parse.c b/openbox/parse.c
index 488d34db..80a918cb 100644
--- a/openbox/parse.c
+++ b/openbox/parse.c
@@ -33,7 +33,7 @@ void parse_reg_section(char *section, ParseFunc func)
void parse_free_token(ParseToken *token)
{
- GSList *it;
+ GList *it;
switch (token->type) {
case TOKEN_STRING:
@@ -47,7 +47,7 @@ void parse_free_token(ParseToken *token)
parse_free_token(it->data);
g_free(it->data);
}
- g_slist_free(token->data.list);
+ g_list_free(token->data.list);
break;
case TOKEN_REAL:
case TOKEN_INTEGER: