diff options
author | rbuj <[email protected]> | 2021-10-20 09:28:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-03-10 23:19:54 +0100 |
commit | 4158bfe57dc7dfe224541ffd12095ba15dbdedcf (patch) | |
tree | 4b01b03374f05000c8fbcb5482fc57f0b7f55791 /plugins/xsettings | |
parent | b84d06bf1fe99874cdc6c18f2ae4f19acc158ca1 (diff) | |
download | mate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.bz2 mate-settings-daemon-4158bfe57dc7dfe224541ffd12095ba15dbdedcf.tar.xz |
Cppcheck: function parameter can be declared with const
Diffstat (limited to 'plugins/xsettings')
-rw-r--r-- | plugins/xsettings/xsettings-manager.c | 6 | ||||
-rw-r--r-- | plugins/xsettings/xsettings-manager.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/xsettings/xsettings-manager.c b/plugins/xsettings/xsettings-manager.c index 1d83be3..8bf4187 100644 --- a/plugins/xsettings/xsettings-manager.c +++ b/plugins/xsettings/xsettings-manager.c @@ -283,9 +283,9 @@ xsettings_manager_set_string (XSettingsManager *manager, } XSettingsResult -xsettings_manager_set_color (XSettingsManager *manager, - const char *name, - XSettingsColor *value) +xsettings_manager_set_color (XSettingsManager *manager, + const char *name, + const XSettingsColor *value) { XSettingsSetting setting; diff --git a/plugins/xsettings/xsettings-manager.h b/plugins/xsettings/xsettings-manager.h index 0e2a471..55f674b 100644 --- a/plugins/xsettings/xsettings-manager.h +++ b/plugins/xsettings/xsettings-manager.h @@ -58,9 +58,9 @@ XSettingsResult xsettings_manager_set_int (XSettingsManager *manager, XSettingsResult xsettings_manager_set_string (XSettingsManager *manager, const char *name, const char *value); -XSettingsResult xsettings_manager_set_color (XSettingsManager *manager, - const char *name, - XSettingsColor *value); +XSettingsResult xsettings_manager_set_color (XSettingsManager *manager, + const char *name, + const XSettingsColor *value); XSettingsResult xsettings_manager_notify (XSettingsManager *manager); #ifdef __cplusplus |