summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-08-19 14:56:29 +0200
committerVictor Kareh <[email protected]>2019-08-20 09:01:31 -0400
commit743f535f5ff86dd7b439d68f54efc20e9302179c (patch)
tree38d19f2cd7754b047900f523b8ca356687ccc6a4
parentec233430a69ed8d09b83765a60db0f611c4be14e (diff)
downloadmate-settings-daemon-743f535f5ff86dd7b439d68f54efc20e9302179c.tar.bz2
mate-settings-daemon-743f535f5ff86dd7b439d68f54efc20e9302179c.tar.xz
mate-settings-plugin: remove useless macro MATE_SETTINGS_PLUGIN_REGISTER
-rw-r--r--mate-settings-daemon/mate-settings-plugin.h9
1 files changed, 1 insertions, 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, \