Add a minimal gst_xml_get_type() function, so that gobject-introspection doesn't
break the compilation if we're compiling with GST_REMOVE_DEPRECATED defined or
--disable-loadsave having been passed to configure. Until someone figures out
a better way at least.
return element;
}
+#else
+
+/* FIXME: keep this dummy _get_type function around for now, so
+ * gobject-introspection doesn't fail in the GST_REMOVE_DEPRECATED and
+ * GST_DISABLE_LOADSAVE case */
+GType gst_xml_get_type (void);
+
+GType
+gst_xml_get_type (void)
+{
+ return g_pointer_type_register_static ("GstXML");
+}
+
#endif