Fix or update various overrides in Gir.toml

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1435>
This commit is contained in:
Sebastian Dröge 2024-04-30 11:29:10 +03:00
parent bac0828260
commit 87cc9fe6e4
4 changed files with 19 additions and 5 deletions

View file

@ -327,6 +327,10 @@ status = "generate"
# Platform dependant # Platform dependant
manual = true manual = true
[[object.member]]
name = "last"
ignore = true
[[object.function]] [[object.function]]
name = "to_string" name = "to_string"
# This has an Unknown field that may return NULL or "UNKNOWN" # This has an Unknown field that may return NULL or "UNKNOWN"

View file

@ -61,10 +61,5 @@ final_type = true
name = "new" name = "new"
[[object.function.parameter]] [[object.function.parameter]]
name = "name" name = "name"
# See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6251
nullable = true
[object.function.return] [object.function.return]
# See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6251
nullable = true
nullable_return_is_error = "Can't create gst::PtpClock" nullable_return_is_error = "Can't create gst::PtpClock"

View file

@ -359,6 +359,13 @@ status = "generate"
[object.function.return] [object.function.return]
nullable_return_is_error = "Failed to create EncodingProfile from DiscovererInfo" nullable_return_is_error = "Failed to create EncodingProfile from DiscovererInfo"
[[object.function]]
name = "from_string"
[object.function.return]
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6775
nullable = true
nullable_return_is_error = "Failed to create EncodingProfile from string"
[[object]] [[object]]
name = "GstPbutils.EncodingTarget" name = "GstPbutils.EncodingTarget"
status = "generate" status = "generate"

View file

@ -202,6 +202,10 @@ status = "generate"
name = "event_new_touch_frame" name = "event_new_touch_frame"
manual = true manual = true
[[object.function]]
name = "event_new_mouse_double_click"
manual = true
[[object.function]] [[object.function]]
name = "event_new_touch_cancel" name = "event_new_touch_cancel"
manual = true manual = true
@ -649,6 +653,10 @@ status = "generate"
name = "y412_le" name = "y412_le"
version = "1.18" version = "1.18"
[[object.member]]
name = "last"
ignore = true
[[object.function]] [[object.function]]
name = "to_string" name = "to_string"
# This has an Unknown field that may return NULL or "UNKNOWN" # This has an Unknown field that may return NULL or "UNKNOWN"