From acb0a442248796e7260be7bc57339c2dafcc8a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 7 May 2021 00:47:01 +0200 Subject: [PATCH] tests: Prefix test plugin name getter with meta_ It'll be used via the new shared library, so prefix it. Part-of: --- src/tests/meta-test-utils.c | 2 +- src/tests/meta-test-utils.h | 2 +- src/tests/native-persistent-virtual-monitor.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/meta-test-utils.c b/src/tests/meta-test-utils.c index ff3eb873d..bd4702bcb 100644 --- a/src/tests/meta-test-utils.c +++ b/src/tests/meta-test-utils.c @@ -566,7 +566,7 @@ meta_test_client_destroy (MetaTestClient *client) } const char * -test_get_plugin_name (void) +meta_test_get_plugin_name (void) { const char *name; diff --git a/src/tests/meta-test-utils.h b/src/tests/meta-test-utils.h index 3100a8e73..51cc5f416 100644 --- a/src/tests/meta-test-utils.h +++ b/src/tests/meta-test-utils.h @@ -82,7 +82,7 @@ MetaTestClient * meta_test_client_new (const char *id, void meta_test_client_destroy (MetaTestClient *client); -const char * test_get_plugin_name (void); +const char * meta_test_get_plugin_name (void); void test_wait_for_x11_display (void); diff --git a/src/tests/native-persistent-virtual-monitor.c b/src/tests/native-persistent-virtual-monitor.c index d8d998cfe..19a16cc5e 100644 --- a/src/tests/native-persistent-virtual-monitor.c +++ b/src/tests/native-persistent-virtual-monitor.c @@ -88,7 +88,7 @@ main (int argc, context = meta_create_context ("Persistent virtual monitor test"); g_assert (meta_context_configure (context, &fake_argc, &fake_argv, &error)); - meta_context_set_plugin_name (context, test_get_plugin_name ()); + meta_context_set_plugin_name (context, meta_test_get_plugin_name ()); g_assert (meta_context_setup (context, &error)); g_assert (meta_context_start (context, &error));