diff options
-rw-r--r-- | docs/reference/totem-sections.txt | 1 | ||||
-rw-r--r-- | src/plugins/totem-plugin.h | 21 |
2 files changed, 0 insertions, 22 deletions
diff --git a/docs/reference/totem-sections.txt b/docs/reference/totem-sections.txt index d7d8546fc..81e38a833 100644 --- a/docs/reference/totem-sections.txt +++ b/docs/reference/totem-sections.txt @@ -107,7 +107,6 @@ totem_interface_error_blocking <FILE>totem-plugin</FILE> <TITLE>TotemPlugin</TITLE> TOTEM_PLUGIN_REGISTER -TOTEM_PLUGIN_REGISTER_CONFIGURABLE totem_get_plugin_paths </SECTION> diff --git a/src/plugins/totem-plugin.h b/src/plugins/totem-plugin.h index 68c58f85d..bb4ad7801 100644 --- a/src/plugins/totem-plugin.h +++ b/src/plugins/totem-plugin.h @@ -143,24 +143,3 @@ **/ #define TOTEM_PLUGIN_REGISTER(TYPE_NAME, TypeName, type_name) \ _TOTEM_PLUGIN_REGISTER(TYPE_NAME, TypeName, type_name,,) - -/** - * TOTEM_PLUGIN_REGISTER_CONFIGURABLE: - * @TYPE_NAME: the name of the plugin type, in UPPER_CASE - * @TypeName: the name of the plugin type, in CamelCase - * @type_name: the name of the plugin type, in lower_case - * - * Registers a configurable plugin with the Totem plugin system, including registering the type specified in the parameters and declaring its activate - * and deactivate and widget creation functions. - **/ -#define TOTEM_PLUGIN_REGISTER_CONFIGURABLE(TYPE_NAME, TypeName, type_name) \ - static GtkWidget *impl_create_configure_widget (PeasGtkConfigurable *configurable); \ - static void peas_gtk_configurable_iface_init (PeasGtkConfigurableInterface *iface); \ - _TOTEM_PLUGIN_REGISTER(TYPE_NAME, TypeName, type_name, \ - (G_IMPLEMENT_INTERFACE_DYNAMIC (PEAS_GTK_TYPE_CONFIGURABLE, peas_gtk_configurable_iface_init)), \ - peas_object_module_register_extension_type (module, PEAS_GTK_TYPE_CONFIGURABLE, TYPE_NAME);) \ - static void \ - peas_gtk_configurable_iface_init (PeasGtkConfigurableInterface *iface) \ - { \ - iface->create_configure_widget = impl_create_configure_widget; \ - } |