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>
This commit is contained in:
Jonas Ådahl 2021-05-11 09:09:04 +02:00
parent 3d5a2b2ffb
commit e8742be568
2 changed files with 0 additions and 16 deletions

View File

@ -87,19 +87,6 @@ meta_ensure_test_client_path (int argc,
g_error ("mutter-test-client executable not found"); 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 * MetaAsyncWaiter *
meta_async_waiter_new (void) meta_async_waiter_new (void)
{ {

View File

@ -40,9 +40,6 @@ GQuark meta_test_client_error_quark (void);
typedef struct _MetaAsyncWaiter MetaAsyncWaiter; typedef struct _MetaAsyncWaiter MetaAsyncWaiter;
typedef struct _MetaTestClient MetaTestClient; typedef struct _MetaTestClient MetaTestClient;
void test_init (int *argc,
char ***argv);
gboolean meta_async_waiter_process_x11_event (MetaAsyncWaiter *waiter, gboolean meta_async_waiter_process_x11_event (MetaAsyncWaiter *waiter,
MetaX11Display *display, MetaX11Display *display,
XSyncAlarmNotifyEvent *event); XSyncAlarmNotifyEvent *event);