summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-ldsm-dialog.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-15 08:21:06 +0200
committerJasmine Hassan <[email protected]>2012-12-15 08:21:06 +0200
commite6ed635e07bd485c6518894bd9883ae9df64f63f (patch)
tree0c322830d04508433fee79c2b77cea81caa57862 /plugins/housekeeping/msd-ldsm-dialog.c
parent5129b9008a6700294bcd8d8f0fcaee4bef2932fc (diff)
downloadmate-settings-daemon-e6ed635e07bd485c6518894bd9883ae9df64f63f.tar.bz2
mate-settings-daemon-e6ed635e07bd485c6518894bd9883ae9df64f63f.tar.xz
[keyboard] fix g_format_size_for_display deprecation (GLIB 2.30)
Diffstat (limited to 'plugins/housekeeping/msd-ldsm-dialog.c')
-rw-r--r--plugins/housekeeping/msd-ldsm-dialog.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c
index ea95540..0624448 100644
--- a/plugins/housekeeping/msd-ldsm-dialog.c
+++ b/plugins/housekeeping/msd-ldsm-dialog.c
@@ -17,11 +17,16 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <glib.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
#include "msd-ldsm-dialog.h"
+#if GLIB_CHECK_VERSION (2, 30, 0)
+#define g_format_size_for_display g_format_size
+#endif
+
#define SETTINGS_SCHEMA "org.mate.SettingsDaemon.plugins.housekeeping"
#define SETTINGS_IGNORE_PATHS "ignore-paths"