]> git.mdlowis.com Git - proto/labwc.git/commitdiff
rcxml: remove "[bind]" message
authorJohan Malm <jgm323@gmail.com>
Tue, 11 Aug 2020 20:12:02 +0000 (21:12 +0100)
committerJohan Malm <jgm323@gmail.com>
Tue, 11 Aug 2020 20:12:02 +0000 (21:12 +0100)
src/config/rcxml.c

index 8b2c369849fcf776038c21d6600793fb5a7b59e3..1e61ec14c68fc927b470d0b7ee084aa82feb172e 100644 (file)
@@ -42,18 +42,14 @@ static void fill_keybind(char *nodename, char *content)
        if (!content)
                return;
        rstrip(nodename, ".keybind.keyboard");
-       if (!strcmp(nodename, "key")) {
+       if (!strcmp(nodename, "key"))
                current_keybind = keybind_add(content);
-               fprintf(stderr, "[bind] %s: ", content);
-       }
        /* We expect <keybind key=""> to come first */
        BUG_ON(!current_keybind);
        if (!strcmp(nodename, "name.action")) {
                current_keybind->action = strdup(content);
-               fprintf(stderr, "%s", content);
        } else if (!strcmp(nodename, "command.action")) {
                current_keybind->command = strdup(content);
-               fprintf(stderr, " - %s", content);
        }
 }
 
@@ -198,7 +194,6 @@ static void xml_tree_walk(xmlNode *node)
                        in_keybind = true;
                        traverse(n);
                        in_keybind = false;
-                       fprintf(stderr, "\n");
                        continue;
                }
                traverse(n);