[Spice-commits] src/spice-widget.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 22 13:04:52 UTC 2018
src/spice-widget.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 372cf2a9fdbe3179ea8882bb624bbe31da4ebc62
Author: Victor Toso <me at victortoso.com>
Date: Mon May 21 13:19:58 2018 +0200
widget: update comment on fixed gtk+ bug
The bug was fixed in GTK+ 3.22. I'm updating the comment plus setting
the !GTK_CHECK_VERSION() to track changes that can be removed after
bumping the gtk+ library.
Signed-off-by: Victor Toso <victortoso at redhat.com>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/src/spice-widget.c b/src/spice-widget.c
index 767550b..72f5334 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -1623,9 +1623,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
return true;
if (key->keyval == GDK_KEY_Pause
-#ifdef G_OS_WIN32
- /* for some reason GDK does not fill keyval for VK_PAUSE
- * See https://bugzilla.gnome.org/show_bug.cgi?id=769214
+#if defined(G_OS_WIN32) && !GTK_CHECK_VERSION(3, 22, 0)
+ /* Bug https://bugzilla.gnome.org/show_bug.cgi?id=769214
+ * Fixed in 3.22 with 125ef35
*/
|| key->hardware_keycode == VK_PAUSE
#endif
More information about the Spice-commits
mailing list