summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-11-17 11:07:27 +0100
committerBastien Nocera <hadess@hadess.net>2022-11-17 11:07:27 +0100
commitd9ad52972ca817088994554aa1d9e299b8b6c915 (patch)
tree8563dc67792078cd2594993e8d63caf77eccffa4
parenteee7d9f7c3fa19409857ea6a8a4ba48c45d1d4cb (diff)
downloadtotem-d9ad52972ca817088994554aa1d9e299b8b6c915.tar.gz
plugins: Remove support for configurable plugins
We don't use them internally, and they usually make for bad UI anyway.
-rw-r--r--docs/reference/totem-sections.txt1
-rw-r--r--src/plugins/totem-plugin.h21
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; \
- }