gtk-rs / examples

DEPRECATED, use https://github.com/gtk-rs/gtk-rs repository instead!
MIT License
283 stars 76 forks source link

Fix entry_completion quit shortcut #321

Closed piegamesde closed 3 years ago

piegamesde commented 3 years ago

Without, running cargo run --all-features --bin entry_completion results in this warning when starting the application and the Ctrl+Q shortcut won't work:

(process:1424835): Gdk-CRITICAL **: 01:44:23.486: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(process:1424835): Gdk-CRITICAL **: 01:44:23.488: gdk_keymap_get_modifier_mask: assertion 'GDK_IS_KEYMAP (keymap)' failed

(process:1424835): Gdk-CRITICAL **: 01:44:23.488: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed

(process:1424835): Gtk-CRITICAL **: 01:44:23.488: _gtk_replace_virtual_modifiers: assertion 'GDK_IS_KEYMAP (keymap)' failed

Now, it does (again).

EPashkin commented 3 years ago

@piegamesde Thanks, 👍

sdroege commented 3 years ago

Moved to https://github.com/gtk-rs/gtk-rs/pull/33