Files
gtk3/debian/patches/tests-make-accel-tests-easier-to-debug.patch
Simon McVittie 00a64e67fd d/patches: Update to gtk-3-24 branch commit 3.24.36-33-g5554113c74
Excluding Windows- and macOS-specific changes, and a workaround for a
libhandy bug which was applied and then reverted.

- Fix logic for when to build GObject-Introspection
- Treat XKB_MOD_NAME_LOGO as Super key in Wayland (GNOME/gtk#4913)
- Fix animations and transitions randomly stopping (GNOME/gtk#4426)
- Take UI scale into account when loading "image-missing" icon
- Replace upstream-rejected solution to GNOME/gtk#5386 (see 3.24.35-3,
  3.24.36-2) with the upstreamed solution
- Fix a touchscreen handling bug that can cause applications to become
  unresponsive (GNOME/gtk#4947)
- Fix GL rendering issues in Totem after the Mesa AMD driver enabled
  threaded rendering (GNOME/gtk#5517)
- Translation updates: ab, lt, tr
2023-02-04 12:23:53 +00:00

32 lines
928 B
Diff

From: Thomas Jost <schnouki@schnouki.net>
Date: Tue, 3 Jan 2023 16:58:18 +0100
Subject: tests: make accel tests easier to debug
Origin: upstream, 3.24.37, commit:7a41da3a6e3cfd01decfaab7b7e6783d4a018734
---
testsuite/gtk/accel.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/testsuite/gtk/accel.c b/testsuite/gtk/accel.c
index d6ea0bc..62f696f 100644
--- a/testsuite/gtk/accel.c
+++ b/testsuite/gtk/accel.c
@@ -55,14 +55,13 @@ test_one_accel (const char *accel,
*keycodes,
mods);
- g_print ("accel %s, label %s\n", accel, label);
-
- g_assert_cmpstr (label, ==, exp_label);
-
name = gtk_accelerator_name_with_keycode (NULL,
accel_key,
*keycodes,
mods);
+ g_print ("accel %s, label %s, name %s, modes %d\n", accel, label, name, mods);
+
+ g_assert_cmpstr (label, ==, exp_label);
g_assert_cmpstr (name, ==, accel);
g_free (keycodes);