tests: Prefix test plugin name getter with meta_

It'll be used via the new shared library, so prefix it.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1861>
This commit is contained in:
Jonas Ådahl 2021-05-07 00:47:01 +02:00
parent 9f1f3139b8
commit acb0a44224
3 changed files with 3 additions and 3 deletions

View File

@ -566,7 +566,7 @@ meta_test_client_destroy (MetaTestClient *client)
} }
const char * const char *
test_get_plugin_name (void) meta_test_get_plugin_name (void)
{ {
const char *name; const char *name;

View File

@ -82,7 +82,7 @@ MetaTestClient * meta_test_client_new (const char *id,
void meta_test_client_destroy (MetaTestClient *client); 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); void test_wait_for_x11_display (void);

View File

@ -88,7 +88,7 @@ main (int argc,
context = meta_create_context ("Persistent virtual monitor test"); context = meta_create_context ("Persistent virtual monitor test");
g_assert (meta_context_configure (context, &fake_argc, &fake_argv, &error)); 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_setup (context, &error));
g_assert (meta_context_start (context, &error)); g_assert (meta_context_start (context, &error));