[fractal/bilelmoussaoui/bump-gtk-rs: 10/11] use the new keyval api
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/bilelmoussaoui/bump-gtk-rs: 10/11] use the new keyval api
- Date: Fri, 31 Jul 2020 14:17:34 +0000 (UTC)
commit 3ec464d53fc72da1c6f1fdcced71b36a0b69d755
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Jul 31 15:26:41 2020 +0200
use the new keyval api
fractal-gtk/src/app/connect/send.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fractal-gtk/src/app/connect/send.rs b/fractal-gtk/src/app/connect/send.rs
index c76d216c..6fd2fd12 100644
--- a/fractal-gtk/src/app/connect/send.rs
+++ b/fractal-gtk/src/app/connect/send.rs
@@ -45,7 +45,7 @@ impl App {
let mut op = self.op.clone();
msg_entry.connect_key_release_event(move |_, ev| {
- if gdk::keyval_to_unicode(*ev.get_keyval()).is_some() {
+ if ev.get_keyval().to_unicode().is_some() {
op.lock().unwrap().send_typing();
}
Inhibit(false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]