From: Dana Jansens Date: Wed, 26 Mar 2003 13:27:39 +0000 (+0000) Subject: remove an extraneous g_warning X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c473d5f80ac8a92ba4046365769b2b84ed72881d;p=chaz%2Fopenbox remove an extraneous g_warning --- 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");