gstreamer/gir: Remove duplicate function configurations

Found this ambiguity in https://github.com/gtk-rs/gir/pull/1164.
This commit is contained in:
Marijn Suijten 2021-05-28 12:30:43 +02:00
parent eaed54e279
commit 0f73912133

View file

@ -574,21 +574,6 @@ manual_traits = ["ElementExtManual"]
[object.function.return]
bool_return_is_error = "Failed to link pads"
[[object.function]]
name = "post_message"
[object.function.return]
bool_return_is_error = "Failed to post message"
[[object.function]]
name = "seek"
[object.function.return]
bool_return_is_error = "Failed to seek"
[[object.function]]
name = "seek_simple"
[object.function.return]
bool_return_is_error = "Failed to seek"
[[object.function]]
name = "set_clock"
[object.function.return]
@ -1514,6 +1499,8 @@ status = "generate"
[[object.function]]
name = "debug_get_stack_trace"
# can be called before gst_init()
assertion = "skip"
[object.function.return]
nullable_return_is_error = "Failed to get stack trace"
@ -1547,11 +1534,6 @@ status = "generate"
# can be called before gst_init()
assertion = "skip"
[[object.function]]
name = "debug_get_stack_trace"
# can be called before gst_init()
assertion = "skip"
[[object.function]]
name = "debug_print_stack_trace"
# can be called before gst_init()
@ -1679,16 +1661,22 @@ status = "generate"
name = "new_y"
# Needs manual checking of invariants
manual = true
[object.function.return]
nullable = true
[[object.function]]
name = "new_ym"
# Needs manual checking of invariants
manual = true
[object.function.return]
nullable = true
[[object.function]]
name = "new_ymd"
# Needs manual checking of invariants
manual = true
[object.function.return]
nullable = true
[[object.function]]
name = "get_month"
@ -1725,24 +1713,6 @@ status = "generate"
# Needs manual checking of invariants
manual = true
[[object.function]]
name = "new_y"
[object.function.return]
nullable = true
nullable_return_is_error = "Can't create DateTime"
[[object.function]]
name = "new_ym"
[object.function.return]
nullable = true
nullable_return_is_error = "Can't create DateTime"
[[object.function]]
name = "new_ymd"
[object.function.return]
nullable = true
nullable_return_is_error = "Can't create DateTime"
[[object.function]]
name = "new_from_g_date_time"
# Function only ever returns NULL if the argument is NULL