diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 16:15:13 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | af21ae834387bd0e0ea7816ba99b06555b742491 (patch) | |
tree | a144970507bbf694ea9ea7149a1556fd6a8452a4 /tests | |
parent | 091d591334094d0842b2ab5085ea30f45e8c4a5c (diff) | |
download | libpeas-af21ae834387bd0e0ea7816ba99b06555b742491.tar.gz |
tests: use major version for introspection version
These need to match what we're building so get the value from config.h.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libpeas/testing/testing.c | 2 | ||||
-rw-r--r-- | tests/testing-util/testing-util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libpeas/testing/testing.c b/tests/libpeas/testing/testing.c index 49b94f3..011c660 100644 --- a/tests/libpeas/testing/testing.c +++ b/tests/libpeas/testing/testing.c @@ -50,7 +50,7 @@ testing_init (gint *argc, g_irepository_require_private (g_irepository_get_default (), BUILDDIR "/tests/libpeas/introspection", - "Introspection", "1.0", 0, &error); + "Introspection", VERSION_MAJOR_S, 0, &error); g_assert_no_error (error); initialized = TRUE; diff --git a/tests/testing-util/testing-util.c b/tests/testing-util/testing-util.c index f35c806..7e751c8 100644 --- a/tests/testing-util/testing-util.c +++ b/tests/testing-util/testing-util.c @@ -209,7 +209,7 @@ testing_util_init (void) g_irepository_require_private (g_irepository_get_default (), BUILDDIR "/libpeas", - "Peas", "1.0", 0, &error); + "Peas", VERSION_MAJOR_S, 0, &error); g_assert_no_error (error); initialized = TRUE; |