docs: Don't include GObject and GstPipeline signals

They're already documented from elsewhere.
This commit is contained in:
Sebastian Dröge 2020-06-02 22:25:24 +03:00 committed by Thibault Saunier
parent ea32d1741c
commit 6e50c6c6fb

View file

@ -271,7 +271,8 @@ _add_signals (GString * json, GString * other_types,
}
for (type = G_OBJECT_TYPE (object); type; type = g_type_parent (type)) {
if (type == GST_TYPE_ELEMENT || type == GST_TYPE_OBJECT)
if (type == GST_TYPE_ELEMENT || type == GST_TYPE_OBJECT
|| type == G_TYPE_OBJECT)
break;
if (type == GST_TYPE_PAD)
@ -279,6 +280,9 @@ _add_signals (GString * json, GString * other_types,
if (type == GST_TYPE_BIN && G_OBJECT_TYPE (object) != GST_TYPE_BIN)
continue;
if (type == GST_TYPE_PIPELINE
&& G_OBJECT_TYPE (object) != GST_TYPE_PIPELINE)
continue;
signals = g_signal_list_ids (type, &nsignals);
for (i = 0; i < nsignals; i++) {
@ -402,7 +406,7 @@ _add_properties (GString * json, GString * other_types,
continue;
g_value_init (&value, spec->value_type);
if (object && !!(spec->flags & G_PARAM_READABLE) &&
if (object && ! !(spec->flags & G_PARAM_READABLE) &&
!(spec->flags & GST_PARAM_DOC_SHOW_DEFAULT)) {
g_object_get_property (G_OBJECT (object), spec->name, &value);
} else {