tests/wayland-unit-tests: Fix some style issues

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1993>
This commit is contained in:
Jonas Ådahl 2021-11-25 10:26:44 +01:00 committed by Marge Bot
parent 3602762a18
commit 618cc5050b

View File

@ -479,7 +479,7 @@ on_after_tests (void)
} }
static void static void
init_wayland_tests (void) init_tests (void)
{ {
g_test_add_func ("/wayland/subsurface/remap-toplevel", g_test_add_func ("/wayland/subsurface/remap-toplevel",
subsurface_remap_toplevel); subsurface_remap_toplevel);
@ -498,7 +498,8 @@ init_wayland_tests (void)
} }
int int
main (int argc, char *argv[]) main (int argc,
char *argv[])
{ {
g_autoptr (MetaContext) context = NULL; g_autoptr (MetaContext) context = NULL;
@ -508,7 +509,7 @@ main (int argc, char *argv[])
test_context = context; test_context = context;
init_wayland_tests (); init_tests ();
g_signal_connect (context, "before-tests", g_signal_connect (context, "before-tests",
G_CALLBACK (on_before_tests), NULL); G_CALLBACK (on_before_tests), NULL);