Skip to content

Commit 4b2dfed

Browse files
committed
Suppress deprecation warning in tests
Signed-off-by: Stephen Gallagher <[email protected]>
1 parent 31a984f commit 4b2dfed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modulemd/v2/tests/test-modulemd-modulestream.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ module_stream_test_copy (ModuleStreamFixture *fixture, gconstpointer user_data)
185185
}
186186

187187

188+
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
188189
static void
189190
module_stream_test_nsvc (ModuleStreamFixture *fixture, gconstpointer user_data)
190191
{
@@ -231,6 +232,7 @@ module_stream_test_nsvc (ModuleStreamFixture *fixture, gconstpointer user_data)
231232
g_clear_object (&stream);
232233
}
233234
}
235+
G_GNUC_END_IGNORE_DEPRECATIONS
234236

235237

236238
static void

0 commit comments

Comments
 (0)