Add GstElement as a prerequisite for GstInterface
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 18 Nov 2003 19:05:39 +0000 (19:05 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 18 Nov 2003 19:05:39 +0000 (19:05 +0000)
Original commit message from CVS:
Add GstElement as a prerequisite for GstInterface

gst/gstinterface.c

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