audio,ges,rtsp-server: Define GstObjectExt trait rename for docs

The generator does not read Gir.toml from dependencies, missing out on
trait renames like `ObjectExt` turning into GstObjectExt` (to prevent
clashes with `glib`'s `ObjectExt`).  Renaming through `trait_name` is
now taken into account in `gir` thanks to [1], but the renames still
need to be availble to all crates referencing this type.  Fortunately
only `Gst.Object` is affected - other renamed traits are not extended in
any of the other crates.

[1]: https://github.com/gtk-rs/gir/pull/1108
This commit is contained in:
Marijn Suijten 2021-05-02 21:29:44 +02:00
parent 579ac6c4e4
commit a49ea94d14
3 changed files with 18 additions and 2 deletions

View file

@ -33,7 +33,6 @@ generate = [
manual = [
"GObject.Object",
"Gst.Object",
"Gst.Element",
"Gst.Allocator",
"Gst.AllocationParams",
@ -45,6 +44,12 @@ manual = [
"GstAudio.AudioFormatInfo",
]
[[object]]
name = "Gst.Object"
# For renaming the trait...
status = "manual"
trait_name = "GstObjectExt"
[[object]]
name = "Gst.Caps"
status = "manual"

View file

@ -29,7 +29,6 @@ manual = [
"GstPbutils.EncodingProfile",
"GstPbutils.DiscovererInfo",
"GstPbutils.DiscovererStreamInfo",
"Gst.Object",
"Gst.Element",
"Gst.Pad",
"Gst.Pipeline",
@ -47,6 +46,12 @@ generate = [
"GES.VideoStandardTransitionType",
]
[[object]]
name = "Gst.Object"
# For renaming the trait...
status = "manual"
trait_name = "GstObjectExt"
[[object]]
name = "Gst.Structure"
status = "manual"

View file

@ -63,6 +63,12 @@ manual = [
"GstRtsp.RTSPLowerTrans"
]
[[object]]
name = "Gst.Object"
# For renaming the trait...
status = "manual"
trait_name = "GstObjectExt"
[[object]]
name = "Gst.Message"
status = "manual"