src: remove trailing whitespace

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2020-06-24 16:27:54 +01:00
parent 646662bceb
commit 3e1d619529
2 changed files with 3 additions and 3 deletions

View File

@ -585,7 +585,7 @@ void virt_viewer_app_set_keymap(VirtViewerApp *self, const gchar *keymap_string)
g_debug("keymap string set to %s", keymap_string);
g_return_if_fail(VIRT_VIEWER_IS_APP(self));
g_debug("keymap command-line set to %s", keymap_string);
if (keymap_string) {
keymaps = g_strsplit(keymap_string, ",", -1);

View File

@ -1513,7 +1513,7 @@ window_key_pressed (GtkWidget *widget G_GNUC_UNUSED,
priv = self->priv;
display = priv->display;
event = (GdkEventKey *)ev;
gtk_widget_grab_focus(GTK_WIDGET(display));
// Look through keymaps - if set for mappings and intercept
@ -1529,7 +1529,7 @@ window_key_pressed (GtkWidget *widget G_GNUC_UNUSED,
break;
}
ptr++;
} while (matched == NULL);
} while (matched == NULL);
if (matched) {
if (matched->mappedKeys == NULL) {