diff --git a/docs/gst-hotdoc-plugins-scanner.c b/docs/gst-hotdoc-plugins-scanner.c index 3858ed1306..1af1e0f238 100644 --- a/docs/gst-hotdoc-plugins-scanner.c +++ b/docs/gst-hotdoc-plugins-scanner.c @@ -19,7 +19,7 @@ has_sometimes_template (GObject * object) GstElementClass *klass; GList *l; - if (!GST_IS_OBJECT (object)) + if (!GST_IS_ELEMENT (object)) return FALSE; klass = GST_ELEMENT_GET_CLASS (object);