G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module) { rb_mtp_plugin_register_type (G_TYPE_MODULE (module)); _rb_mtp_source_register_type (G_TYPE_MODULE (module)); _rb_mtp_thread_register_type (G_TYPE_MODULE (module)); rb_mtp_gst_init (); peas_object_module_register_extension_type (module, PEAS_TYPE_ACTIVATABLE, RB_TYPE_MTP_PLUGIN); }
G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module) { rb_mtp_plugin_register_type (G_TYPE_MODULE (module)); _rb_mtp_source_register_type (G_TYPE_MODULE (module)); _rb_mtp_thread_register_type (G_TYPE_MODULE (module)); /* ensure the gstreamer elements get linked in */ rb_mtp_src_get_type (); rb_mtp_sink_get_type (); peas_object_module_register_extension_type (module, PEAS_TYPE_ACTIVATABLE, RB_TYPE_MTP_PLUGIN); }