From 68ff2eb3d2d7874e780000143cbee9a8e7c2e57f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 4 Apr 2003 20:19:12 +0000 Subject: add the keyboard plugin into the build systems keyboard bindings are parsed from the rc file --- openbox/parse.c | 4 ++-- openbox/parse.y | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'openbox') 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: diff --git a/openbox/parse.y b/openbox/parse.y index 37bd3dc3..f8b0a044 100644 --- a/openbox/parse.y +++ b/openbox/parse.y @@ -13,7 +13,7 @@ char *identifier; gboolean bool; char character; - GSList *list; + GList *list; } %{ @@ -89,12 +89,12 @@ listtokens: listtokens listtoken { ParseToken *nt = g_new(ParseToken, 1); nt->type = t.type; nt->data = t.data; - $$ = g_slist_append($1, nt); + $$ = g_list_append($1, nt); } - | token { ParseToken *nt = g_new(ParseToken, 1); + | listtoken { ParseToken *nt = g_new(ParseToken, 1); nt->type = t.type; nt->data = t.data; - $$ = g_slist_append(NULL, nt); + $$ = g_list_append(NULL, nt); } ; -- cgit v1.2.3