[virt-tools-list] [PATCH virt-viewer 2/2] app: Inform about problematic hotkey

Pavel Grunt pgrunt at redhat.com
Mon May 30 09:25:35 UTC 2016


Resolves: rhbz#1339572
---
 src/virt-viewer-app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index d449f72..a2e38b6 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -2066,7 +2066,7 @@ virt_viewer_app_set_hotkeys(VirtViewerApp *self, const gchar *hotkeys_str)
     for (hotkey = hotkeys; *hotkey != NULL; hotkey++) {
         gchar *key = strstr(*hotkey, "=");
         if (key == NULL) {
-            g_warn_if_reached();
+            g_warning("missing value for key: '%s'", *hotkey);
             continue;
         }
         *key = '\0';
-- 
2.8.3




More information about the virt-tools-list mailing list