summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-09 20:30:04 +0300
committermonsta <[email protected]>2016-01-09 20:49:32 +0300
commit60626abf0b065b831bc83b124114fb6fa4c7b678 (patch)
tree3bb02dc541b045c7b966e7ee67cb9aa191657351 /plugins
parenta2028901b82ad7f731e8c532b4a0bd4a66c798ec (diff)
downloadmate-settings-daemon-60626abf0b065b831bc83b124114fb6fa4c7b678.tar.bz2
mate-settings-daemon-60626abf0b065b831bc83b124114fb6fa4c7b678.tar.xz
remove unused #define's
Diffstat (limited to 'plugins')
-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"