From df6ee37b38a3941e2195b152c2d49c9a3de6a862 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 8 Jul 2020 14:36:00 +0200 Subject: Remove unused macros --- capplets/common/mate-theme-apply.c | 1 - capplets/common/mate-theme-info.c | 1 - capplets/keybindings/eggcellrendererkeys.c | 13 ++----------- capplets/windows/mate-window-properties.c | 3 --- 4 files changed, 2 insertions(+), 16 deletions(-) (limited to 'capplets') diff --git a/capplets/common/mate-theme-apply.c b/capplets/common/mate-theme-apply.c index f1de6bd9..48b40bc0 100644 --- a/capplets/common/mate-theme-apply.c +++ b/capplets/common/mate-theme-apply.c @@ -31,7 +31,6 @@ #define GTK_THEME_KEY "gtk-theme" #define COLOR_SCHEME_KEY "gtk-color-scheme" #define ICON_THEME_KEY "icon-theme" -#define FONT_KEY "font-name" #define MARCO_SCHEMA "org.mate.Marco.general" #define MARCO_THEME_KEY "theme" diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c index 5e5db12a..91359f5e 100644 --- a/capplets/common/mate-theme-info.c +++ b/capplets/common/mate-theme-info.c @@ -50,7 +50,6 @@ #define CURSOR_THEME_KEY "X-GNOME-Metatheme/CursorTheme" #define NOTIFICATION_THEME_KEY "X-GNOME-Metatheme/NotificationTheme" #define CURSOR_SIZE_KEY "X-GNOME-Metatheme/CursorSize" -#define SOUND_THEME_KEY "X-GNOME-Metatheme/SoundTheme" #define APPLICATION_FONT_KEY "X-GNOME-Metatheme/ApplicationFont" #define DOCUMENTS_FONT_KEY "X-GNOME-Metatheme/DocumentsFont" #define DESKTOP_FONT_KEY "X-GNOME-Metatheme/DesktopFont" diff --git a/capplets/keybindings/eggcellrendererkeys.c b/capplets/keybindings/eggcellrendererkeys.c index 0a8789d0..e6feca22 100644 --- a/capplets/keybindings/eggcellrendererkeys.c +++ b/capplets/keybindings/eggcellrendererkeys.c @@ -1,21 +1,12 @@ #include -#include +#include +#include #include #include #include #include "eggcellrendererkeys.h" #include "eggaccelerators.h" -#ifndef EGG_COMPILATION - #ifndef _ - #define _(x) dgettext (GETTEXT_PACKAGE, x) - #define N_(x) x - #endif -#else - #define _(x) x - #define N_(x) x -#endif - #define EGG_CELL_RENDERER_TEXT_PATH "egg-cell-renderer-text" #define TOOLTIP_TEXT _("New shortcut...") diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index d8e3f565..ee9eb541 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -40,10 +40,7 @@ #include "capplet-util.h" #define MARCO_SCHEMA "org.mate.Marco.general" -#define MARCO_THEME_KEY "theme" -#define MARCO_FONT_KEY "titlebar-font" #define MARCO_FOCUS_KEY "focus-mode" -#define MARCO_USE_SYSTEM_FONT_KEY "titlebar-uses-system-font" #define MARCO_AUTORAISE_KEY "auto-raise" #define MARCO_AUTORAISE_DELAY_KEY "auto-raise-delay" #define MARCO_MOUSE_MODIFIER_KEY "mouse-button-modifier" -- cgit v1.2.1