diff --git a/gst-plugin/src/object.rs b/gst-plugin/src/object.rs index 78ad950f..a05a1b69 100644 --- a/gst-plugin/src/object.rs +++ b/gst-plugin/src/object.rs @@ -122,7 +122,7 @@ pub unsafe fn get_type() -> glib_ffi::GType { T::glib_type().to_glib(), type_name.as_ptr(), &type_info, - gobject_ffi::GTypeFlags::empty(), + gobject_ffi::G_TYPE_FLAG_ABSTRACT, ); });