diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-util/dbus-test-runner/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-util/dbus-test-runner/files')
-rw-r--r-- | dev-util/dbus-test-runner/files/dbus-test-runner-19.04.0-fix-deprecation-warnings.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/dbus-test-runner/files/dbus-test-runner-19.04.0-fix-deprecation-warnings.patch b/dev-util/dbus-test-runner/files/dbus-test-runner-19.04.0-fix-deprecation-warnings.patch new file mode 100644 index 000000000000..62b731f33469 --- /dev/null +++ b/dev-util/dbus-test-runner/files/dbus-test-runner-19.04.0-fix-deprecation-warnings.patch @@ -0,0 +1,30 @@ +Description: tests: Replace deprecated g_main_{pending,iteration} with current g_main_context_{pending,iteration} +Author: Iain Lane <laney@debian.org> +Origin: https://bazaar.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk.16.10/revision/109 + +Index: dbus-test-runner/tests/test-libdbustest-mock.c +=================================================================== +--- dbus-test-runner.orig/tests/test-libdbustest-mock.c ++++ dbus-test-runner/tests/test-libdbustest-mock.c +@@ -389,8 +389,8 @@ test_signals (void) + g_assert(dbus_test_dbus_mock_object_emit_signal(mock, obj, "testsig", NULL, NULL, NULL)); + + g_usleep(100000); +- while (g_main_pending()) +- g_main_iteration(TRUE); ++ while (g_main_context_pending(NULL)) ++ g_main_context_iteration(NULL, TRUE); + + g_assert(signal_count == 1); + +@@ -410,8 +410,8 @@ test_signals (void) + g_assert(dbus_test_dbus_mock_object_emit_signal(mock, obj, "testsig_abc", G_VARIANT_TYPE("(sss)"), g_variant_new_parsed("('a', 'b', 'c')"), NULL)); + + g_usleep(100000); +- while (g_main_pending()) +- g_main_iteration(TRUE); ++ while (g_main_context_pending(NULL)) ++ g_main_context_iteration(NULL, TRUE); + + g_assert(signal_abc_count == 1); + |