-
/usr/include/glib-2.0/glib/gstring.h:80:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | (__builtin_constant_p (free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 | ((free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | (g_string_free) ((str), (free_segment)) : \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79 | g_string_free_and_steal (str)) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | : \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81 | (g_string_free) ((str), (free_segment)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
../plugins/housekeeping/gsd-disk-space-helper.c:119:9: warning: 'g_unix_mount_get_fs_type' is deprecated: Use 'g_unix_mount_entry_get_fs_type' instead [-Wdeprecated-declarations]
119 | fs = g_unix_mount_get_fs_type (mount);
| ^~
-
../plugins/housekeeping/gsd-disk-space-helper.c:132:9: warning: 'g_unix_mount_get_device_path' is deprecated: Use 'g_unix_mount_entry_get_device_path' instead [-Wdeprecated-declarations]
132 | device = g_unix_mount_get_device_path (mount);
| ^~~~~~
-
../plugins/housekeeping/gsd-disk-space-helper.c:137:9: warning: 'g_unix_mount_guess_name' is deprecated: Use 'g_unix_mount_entry_guess_name' instead [-Wdeprecated-declarations]
137 | label = g_unix_mount_guess_name (mount);
| ^~~~~
-
../plugins/housekeeping/gsd-disk-space-helper.c:152:9: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
152 | mount_path = g_unix_mount_get_mount_path (mount);
| ^~~~~~~~~~
-
../plugins/housekeeping/gsd-disk-space.c:714:9: warning: 'g_unix_mount_guess_name' is deprecated: Use 'g_unix_mount_entry_guess_name' instead [-Wdeprecated-declarations]
714 | name = g_unix_mount_guess_name (mount->mount);
| ^~~~
-
../plugins/housekeeping/gsd-disk-space.c:715:9: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
715 | path = g_unix_mount_get_mount_path (mount->mount);
| ^~~~
-
../plugins/housekeeping/gsd-disk-space.c:803:9: warning: 'g_unix_mount_free' is deprecated: Use 'g_unix_mount_entry_free' instead [-Wdeprecated-declarations]
803 | g_unix_mount_free (mount->mount);
| ^~~~~~~~~~~~~~~~~
-
../plugins/housekeeping/gsd-disk-space.c:831:17: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
831 | path = g_unix_mount_get_mount_path (mount_info->mount);
| ^~~~
-
../plugins/housekeeping/gsd-disk-space.c:895:17: warning: 'g_unix_mount_at' is deprecated: Use 'g_unix_mount_entry_at' instead [-Wdeprecated-declarations]
895 | mount = g_unix_mount_at (path, time_read);
| ^~~~~
-
../plugins/housekeeping/gsd-disk-space.c:905:17: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
905 | path = g_unix_mount_get_mount_path (mount);
| ^~~~
-
../plugins/housekeeping/gsd-disk-space.c:907:17: warning: 'g_unix_mount_is_readonly' is deprecated: Use 'g_unix_mount_entry_is_readonly' instead [-Wdeprecated-declarations]
907 | if (g_unix_mount_is_readonly (mount)) {
| ^~
-
../plugins/housekeeping/gsd-disk-space.c:947:25: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
947 | g_hash_table_remove (ldsm_notified_hash, g_unix_mount_get_mount_path (mount_info->mount));
| ^~~~~~~~~~~~~~~~~~~
-
../plugins/housekeeping/gsd-disk-space.c:971:17: warning: 'g_unix_mount_get_mount_path' is deprecated: Use 'g_unix_mount_entry_get_mount_path' instead [-Wdeprecated-declarations]
971 | path = g_unix_mount_get_mount_path (mount);
| ^~~~
-
../plugins/housekeeping/gsd-disk-space.c:987:9: warning: 'g_unix_mounts_get' is deprecated: Use 'g_unix_mount_entries_get' instead [-Wdeprecated-declarations]
987 | mounts = g_unix_mounts_get (time_read);
| ^~~~~~
-
../plugins/housekeeping/gsd-disk-space.c:990:9: warning: 'g_unix_mount_free' is deprecated: Use 'g_unix_mount_entry_free' instead [-Wdeprecated-declarations]
990 | g_list_free_full (mounts, (GDestroyNotify) g_unix_mount_free);
| ^~~~~~~~~~~~~~~~