diff options
author | Jasmine Hassan <[email protected]> | 2012-12-15 08:21:06 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-12-15 08:21:06 +0200 |
commit | e6ed635e07bd485c6518894bd9883ae9df64f63f (patch) | |
tree | 0c322830d04508433fee79c2b77cea81caa57862 | |
parent | 5129b9008a6700294bcd8d8f0fcaee4bef2932fc (diff) | |
download | mate-settings-daemon-e6ed635e07bd485c6518894bd9883ae9df64f63f.tar.bz2 mate-settings-daemon-e6ed635e07bd485c6518894bd9883ae9df64f63f.tar.xz |
[keyboard] fix g_format_size_for_display deprecation (GLIB 2.30)
-rw-r--r-- | plugins/housekeeping/msd-ldsm-dialog.c | 5 |
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" |