Add GstElement as a prerequisite for GstInterface

Original commit message from CVS:
Add GstElement as a prerequisite for GstInterface
This commit is contained in:
Ronald S. Bultje 2003-11-18 19:05:39 +00:00
parent 30842f709c
commit 6fa0298713

View file

@ -54,6 +54,9 @@ gst_interface_get_type (void)
gst_interface_type = g_type_register_static (G_TYPE_INTERFACE, gst_interface_type = g_type_register_static (G_TYPE_INTERFACE,
"GstInterface", "GstInterface",
&gst_interface_info, 0); &gst_interface_info, 0);
g_type_interface_add_prerequisite (gst_interface_type,
GST_TYPE_ELEMENT);
} }
return gst_interface_type; return gst_interface_type;