summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/keyboard/msd-keyboard-manager.c4
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/plugins/keyboard/msd-keyboard-manager.c b/plugins/keyboard/msd-keyboard-manager.c
index d6965d9..ba941b9 100644
--- a/plugins/keyboard/msd-keyboard-manager.c
+++ b/plugins/keyboard/msd-keyboard-manager.c
@@ -54,10 +54,6 @@
#define MSD_KEYBOARD_MANAGER_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE((o), MSD_TYPE_KEYBOARD_MANAGER, MsdKeyboardManagerPrivate))
-#ifndef HOST_NAME_MAX
- #define HOST_NAME_MAX 255
-#endif
-
#define MSD_KEYBOARD_SCHEMA "org.mate.peripherals-keyboard"
#define KEY_REPEAT "repeat"
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 75ab6ec..1341a75 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -53,10 +53,6 @@
#include "mate-settings-profile.h"
#include "msd-xrandr-manager.h"
-#ifndef HOST_NAME_MAX
-#define HOST_NAME_MAX 255
-#endif
-
#define MSD_XRANDR_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MSD_TYPE_XRANDR_MANAGER, MsdXrandrManagerPrivate))
#define CONF_SCHEMA "org.mate.SettingsDaemon.plugins.xrandr"