Mark the abstract base types as actually abstract

Without implementation they can't be instantiated
This commit is contained in:
Sebastian Dröge 2017-09-22 14:08:45 +03:00
parent 0d22579297
commit 950a7d5b0d

View file

@ -122,7 +122,7 @@ pub unsafe fn get_type<T: ObjectType>() -> glib_ffi::GType {
T::glib_type().to_glib(),
type_name.as_ptr(),
&type_info,
gobject_ffi::GTypeFlags::empty(),
gobject_ffi::G_TYPE_FLAG_ABSTRACT,
);
});