From 743f535f5ff86dd7b439d68f54efc20e9302179c Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Mon, 19 Aug 2019 14:56:29 +0200 Subject: mate-settings-plugin: remove useless macro MATE_SETTINGS_PLUGIN_REGISTER --- mate-settings-daemon/mate-settings-plugin.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mate-settings-daemon/mate-settings-plugin.h b/mate-settings-daemon/mate-settings-plugin.h index 4bdd2e7..c0aaf33 100644 --- a/mate-settings-daemon/mate-settings-plugin.h +++ b/mate-settings-daemon/mate-settings-plugin.h @@ -56,7 +56,7 @@ void mate_settings_plugin_deactivate (MateSettingsPlugin *pl /* * Utility macro used to register plugins * - * use: MATE_SETTINGS_PLUGIN_REGISTER (PluginName, plugin_name) + * use: MATE_SETTINGS_PLUGIN_REGISTER_WITH_PRIVATE (PluginName, plugin_name) */ #define _REGISTER_PLUGIN_FUNC(plugin_name) \ G_MODULE_EXPORT GType \ @@ -67,13 +67,6 @@ register_mate_settings_plugin (GTypeModule *type_module) \ return plugin_name##_get_type(); \ } -#define MATE_SETTINGS_PLUGIN_REGISTER(PluginName, plugin_name) \ - G_DEFINE_DYNAMIC_TYPE (PluginName, \ - plugin_name, \ - MATE_TYPE_SETTINGS_PLUGIN) \ - \ -_REGISTER_PLUGIN_FUNC(plugin_name) - #define MATE_SETTINGS_PLUGIN_REGISTER_WITH_PRIVATE(PluginName, plugin_name) \ G_DEFINE_DYNAMIC_TYPE_EXTENDED (PluginName, \ plugin_name, \ -- cgit v1.2.1