mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 14:14:10 +00:00
tests/wayland-unit-tests: Fix some style issues
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1993>
This commit is contained in:
parent
3602762a18
commit
618cc5050b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user