validate: fix up gir namespace and symbol prefix
authorTim-Philipp Müller <tim@centricular.com>
Sat, 25 Jul 2020 22:40:05 +0000 (23:40 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 25 Jul 2020 23:17:50 +0000 (23:17 +0000)
Change gir namespace and symbol prefix from
GstValidate / gst_validate to Gst / gst, same
as we do for other libs like GstVideo etc.

Helps with warnings about GST_IS_VALIDATE_*

Fixes #46, Closes !214

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/215>

validate/gst/validate/meson.build

index f0b6aa3..158bbb6 100644 (file)
@@ -82,8 +82,8 @@ if build_gir
             sources : gstvalidate_sources + gstvalidate_headers + gst_validate_enums,
             nsversion : '1.0',
             namespace : 'GstValidate',
-            symbol_prefix : 'gst_validate',
-            identifier_prefix : 'GstValidate',
+            symbol_prefix : 'gst',
+            identifier_prefix : 'Gst',
             export_packages : 'gst-validate-' + apiversion,
             includes : ['GObject-2.0',
                         'GLib-2.0',