diff --git a/gir-files/GstGL-1.0.gir b/gir-files/GstGL-1.0.gir
index d496ad974..df7ec3980 100644
--- a/gir-files/GstGL-1.0.gir
+++ b/gir-files/GstGL-1.0.gir
@@ -3095,63 +3095,8 @@ through the provided API
-
- the contents of a #GstGLDisplayEGLDevice are private and should only be accessed
-through the provided API
-
-
- Create a new #GstGLDisplayEGLDevice with an EGLDevice supported device
-
-
- a new #GstGLDisplayEGLDevice or %NULL
-
-
-
-
- the index of device to use
-
-
-
-
-
- Creates a new #GstGLDisplayEGLDevice with EGLDeviceEXT .
-The @device must be created using EGLDevice enumeration.
-
-
- a new #GstGLDisplayEGLDevice
-
-
-
-
- an existing EGLDeviceEXT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Opaque #GstGLDisplayEGLDeviceClass struct
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gir-files/GstRtspServer-1.0.gir b/gir-files/GstRtspServer-1.0.gir
index daf5e68e9..694aa5e15 100644
--- a/gir-files/GstRtspServer-1.0.gir
+++ b/gir-files/GstRtspServer-1.0.gir
@@ -6309,10 +6309,7 @@ and called when a message has been sent on the transport.
-
-
-
-
+
user data
diff --git a/gir-files/fix.sh b/gir-files/fix.sh
index df3c7a2fb..81fa34bb8 100755
--- a/gir-files/fix.sh
+++ b/gir-files/fix.sh
@@ -43,7 +43,9 @@ xmlstarlet ed --pf --inplace \
--delete '//_:record[@name="GLMemoryEGLAllocator"]' \
--delete '//_:record[@name="GLMemoryEGLAllocatorClass"]' \
--delete '//_:record[@name="EGLImage"]' \
+ --delete '//_:record[@name="GLDisplayEGLDeviceClass"]' \
--delete '//_:class[@name="GLMemoryEGLAllocator"]' \
+ --delete '//_:class[@name="GLDisplayEGLDevice"]' \
--delete '//_:callback[@name="EGLImageDestroyNotify"]' \
--delete '//_:constant[@name="GL_MEMORY_EGL_ALLOCATOR_NAME"]' \
--delete '//_:function[starts-with(@name, "egl")]' \