summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-15 13:43:56 +0200
committerZenWalker <[email protected]>2020-08-15 15:02:43 +0200
commit6a689d0ef710108ce3186f25f79b02b9df56f006 (patch)
tree0ae8a733b1745137d376e975c90e177209a381a9
parent7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c (diff)
downloadmate-settings-daemon-6a689d0ef710108ce3186f25f79b02b9df56f006.tar.bz2
mate-settings-daemon-6a689d0ef710108ce3186f25f79b02b9df56f006.tar.xz
mate-settings-plugin-info: unused parameter 'settings'
-rw-r--r--mate-settings-daemon/mate-settings-plugin-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-settings-daemon/mate-settings-plugin-info.c b/mate-settings-daemon/mate-settings-plugin-info.c
index e93d953..5db6e61 100644
--- a/mate-settings-daemon/mate-settings-plugin-info.c
+++ b/mate-settings-daemon/mate-settings-plugin-info.c
@@ -266,11 +266,11 @@ mate_settings_plugin_info_fill_from_file (MateSettingsPluginInfo *info,
}
static void
-plugin_enabled_cb (GSettings *settings G_GNUC_UNUSED,
+plugin_enabled_cb (GSettings *settings,
gchar *key,
MateSettingsPluginInfo *info)
{
- if (g_settings_get_boolean (info->priv->settings, key)) {
+ if (g_settings_get_boolean (settings, key)) {
mate_settings_plugin_info_activate (info);
} else {
mate_settings_plugin_info_deactivate (info);