summaryrefslogtreecommitdiff
path: root/plugins/housekeeping
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-10 14:34:23 +0200
committerZenWalker <[email protected]>2020-08-15 14:10:03 +0200
commit7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c (patch)
tree7fdf5c59c8cea2f9067146344434a3d17f69ae71 /plugins/housekeeping
parent27adfb941829c99638219e3e76371c86e42e3dcb (diff)
downloadmate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.bz2
mate-settings-daemon-7e8357d5cc6e04ae96734e2c8e1f87b9a154a52c.tar.xz
add G_GNUC_UNUSED in some unused parameters
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r--plugins/housekeeping/msd-disk-space.c10
-rw-r--r--plugins/housekeeping/msd-housekeeping-manager.c6
-rw-r--r--plugins/housekeeping/msd-ldsm-trash-empty.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c
index 95bd62b..22b196c 100644
--- a/plugins/housekeeping/msd-disk-space.c
+++ b/plugins/housekeeping/msd-disk-space.c
@@ -554,8 +554,8 @@ ldsm_is_hash_item_not_in_mounts (gpointer key,
}
static void
-ldsm_mounts_changed (GObject *monitor,
- gpointer data)
+ldsm_mounts_changed (GObject *monitor G_GNUC_UNUSED,
+ gpointer data G_GNUC_UNUSED)
{
GList *mounts;
@@ -636,9 +636,9 @@ msd_ldsm_get_config (void)
}
static void
-msd_ldsm_update_config (GSettings *settings,
- gchar *key,
- gpointer user_data)
+msd_ldsm_update_config (GSettings *settings G_GNUC_UNUSED,
+ gchar *key G_GNUC_UNUSED,
+ gpointer user_data G_GNUC_UNUSED)
{
msd_ldsm_get_config ();
}
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c
index e42db58..4a76241 100644
--- a/plugins/housekeeping/msd-housekeeping-manager.c
+++ b/plugins/housekeeping/msd-housekeeping-manager.c
@@ -232,9 +232,9 @@ do_cleanup_soon (MsdHousekeepingManager *manager)
}
static void
-settings_changed_callback (GSettings *settings,
- const char *key,
- MsdHousekeepingManager *manager)
+settings_changed_callback (GSettings *settings G_GNUC_UNUSED,
+ const char *key G_GNUC_UNUSED,
+ MsdHousekeepingManager *manager)
{
do_cleanup_soon (manager);
}
diff --git a/plugins/housekeeping/msd-ldsm-trash-empty.c b/plugins/housekeeping/msd-ldsm-trash-empty.c
index 74291d0..301b6dc 100644
--- a/plugins/housekeeping/msd-ldsm-trash-empty.c
+++ b/plugins/housekeeping/msd-ldsm-trash-empty.c
@@ -317,7 +317,7 @@ trash_empty_start (void)
static void
trash_empty_confirmation_response (GtkDialog *dialog,
gint response_id,
- gpointer user_data)
+ gpointer user_data G_GNUC_UNUSED)
{
if (response_id == GTK_RESPONSE_YES)
trash_empty_start ();