summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/clipboard/list.c2
-rw-r--r--plugins/clipboard/list.h2
-rw-r--r--plugins/smartcard/msd-smartcard-manager.c4
-rw-r--r--plugins/xsettings/xsettings-manager.c6
-rw-r--r--plugins/xsettings/xsettings-manager.h6
5 files changed, 10 insertions, 10 deletions
diff --git a/plugins/clipboard/list.c b/plugins/clipboard/list.c
index 90ec339..eaadcf8 100644
--- a/plugins/clipboard/list.c
+++ b/plugins/clipboard/list.c
@@ -82,7 +82,7 @@ list_find (List *list,
List *
list_remove (List *list,
- void *data)
+ const void *data)
{
List *tmp, *prev;
diff --git a/plugins/clipboard/list.h b/plugins/clipboard/list.h
index ae41ca1..fcbbf02 100644
--- a/plugins/clipboard/list.h
+++ b/plugins/clipboard/list.h
@@ -48,7 +48,7 @@ List *list_find (List *list,
ListFindFunc func,
void *user_data);
List *list_remove (List *list,
- void *data);
+ const void *data);
int list_length (List *list);
List *list_copy (List *list);
diff --git a/plugins/smartcard/msd-smartcard-manager.c b/plugins/smartcard/msd-smartcard-manager.c
index 3da59f6..6d1ec4a 100644
--- a/plugins/smartcard/msd-smartcard-manager.c
+++ b/plugins/smartcard/msd-smartcard-manager.c
@@ -291,8 +291,8 @@ msd_smartcard_manager_class_install_signals (MsdSmartcardManagerClass *manager_c
}
static gboolean
-slot_id_equal (CK_SLOT_ID *slot_id_1,
- CK_SLOT_ID *slot_id_2)
+slot_id_equal (const CK_SLOT_ID *slot_id_1,
+ const CK_SLOT_ID *slot_id_2)
{
g_assert (slot_id_1 != NULL);
g_assert (slot_id_2 != NULL);
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