From c473d5f80ac8a92ba4046365769b2b84ed72881d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 26 Mar 2003 13:27:39 +0000 Subject: [PATCH] remove an extraneous g_warning --- plugins/keyboard/keyboard.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index 2b3f3e5a..07a9bd51 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -49,10 +49,8 @@ gboolean kbind(GList *keylist, Action *action) g_assert(keylist != NULL); g_assert(action != NULL); - if (!(tree = tree_build(keylist))) { - g_warning("invalid binding"); + if (!(tree = tree_build(keylist))) return FALSE; - } if ((t = tree_find(tree, &conflict)) != NULL) { /* already bound to something */ g_warning("keychain is already bound"); -- 2.39.2