summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.c
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2018-03-11 22:37:48 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2018-03-31 00:45:51 +0000
commit472ee457ca63c5d285892090789dc17b34db505b (patch)
treeb63bec060fb102a83a81ae2ad804fd6d3aa77c92 /tests/gimarshallingtests.c
parentf6bcc7d27fa4fb66381564fc4cc839108967e3b0 (diff)
downloadgobject-introspection-472ee457ca63c5d285892090789dc17b34db505b.tar.gz
tests: Use g_error_new_literal() for literal string
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r--tests/gimarshallingtests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 44a4ab30..f6ac1c57 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -5182,7 +5182,7 @@ gi_marshalling_tests_gerror_return (void)
{
GQuark quark = g_quark_from_static_string (GI_MARSHALLING_TESTS_CONSTANT_GERROR_DOMAIN);
- return g_error_new (quark, GI_MARSHALLING_TESTS_CONSTANT_GERROR_CODE, GI_MARSHALLING_TESTS_CONSTANT_GERROR_MESSAGE);
+ return g_error_new_literal (quark, GI_MARSHALLING_TESTS_CONSTANT_GERROR_CODE, GI_MARSHALLING_TESTS_CONSTANT_GERROR_MESSAGE);
}
static GIMarshallingTestsOverridesStruct *