diff --git a/src/meson.build b/src/meson.build
index 94b71abfbb9720b9e83b48cd7c36cf3b65ac4a35..afefb02c9600127c32cb0d4c24300eb160c4f37b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -148,13 +148,13 @@ if get_option('introspection')
   inputsynth_gir = gnome.generate_gir(
     inputsynth_lib,
     sources: inputsynth_sources + inputsynth_headers,
-    namespace: 'libinputsynth',
+    namespace: 'InputSynth',
     nsversion: api_version,
-    identifier_prefix: 'libinputsynth',
-    symbol_prefix: 'libinputsynth',
+    identifier_prefix: 'InputSynth',
+    symbol_prefix: 'inputsynth',
     export_packages: api_path,
     includes: [ ],
-    header: 'libinputsynth/inputsynth.h',
+    header: 'inputsynth.h',
     install: true,
   )
 endif