From e8742be568aa4d5ab69ed2681bb86ec6d28d1e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 11 May 2021 09:09:04 +0200 Subject: [PATCH] tests/test-utils: Remove unused init function This is now dealt with by MetaContextTest. Part-of: --- src/tests/meta-test-utils.c | 13 ------------- src/tests/meta-test-utils.h | 3 --- 2 files changed, 16 deletions(-) diff --git a/src/tests/meta-test-utils.c b/src/tests/meta-test-utils.c index bd4702bcb..f7acd9230 100644 --- a/src/tests/meta-test-utils.c +++ b/src/tests/meta-test-utils.c @@ -87,19 +87,6 @@ meta_ensure_test_client_path (int argc, g_error ("mutter-test-client executable not found"); } -void -test_init (int *argc, - char ***argv) -{ - g_test_init (argc, argv, NULL); - g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id="); - - meta_ensure_test_client_path (*argc, *argv); - - meta_wayland_override_display_name ("mutter-test-display"); - meta_xwayland_override_display_number (512); -} - MetaAsyncWaiter * meta_async_waiter_new (void) { diff --git a/src/tests/meta-test-utils.h b/src/tests/meta-test-utils.h index 51cc5f416..2062063db 100644 --- a/src/tests/meta-test-utils.h +++ b/src/tests/meta-test-utils.h @@ -40,9 +40,6 @@ GQuark meta_test_client_error_quark (void); typedef struct _MetaAsyncWaiter MetaAsyncWaiter; typedef struct _MetaTestClient MetaTestClient; -void test_init (int *argc, - char ***argv); - gboolean meta_async_waiter_process_x11_event (MetaAsyncWaiter *waiter, MetaX11Display *display, XSyncAlarmNotifyEvent *event);