[mutter] tests/test-utils: Remove unused init function
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] tests/test-utils: Remove unused init function
- Date: Thu, 15 Jul 2021 12:40:56 +0000 (UTC)
commit e8742be568aa4d5ab69ed2681bb86ec6d28d1e9d
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue May 11 09:09:04 2021 +0200
tests/test-utils: Remove unused init function
This is now dealt with by MetaContextTest.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
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 bd4702bcb1..f7acd9230a 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 51cc5f4165..2062063db9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]