diff options
author | rbuj <[email protected]> | 2020-07-08 14:36:00 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-20 11:49:44 +0200 |
commit | df6ee37b38a3941e2195b152c2d49c9a3de6a862 (patch) | |
tree | 543e372e62a89c285854589041be832634d0cbca /capplets | |
parent | 90f0f5c59768a3eee3f9529695f68cd45a9e5844 (diff) | |
download | mate-control-center-df6ee37b38a3941e2195b152c2d49c9a3de6a862.tar.bz2 mate-control-center-df6ee37b38a3941e2195b152c2d49c9a3de6a862.tar.xz |
Remove unused macros
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/common/mate-theme-apply.c | 1 | ||||
-rw-r--r-- | capplets/common/mate-theme-info.c | 1 | ||||
-rw-r--r-- | capplets/keybindings/eggcellrendererkeys.c | 13 | ||||
-rw-r--r-- | capplets/windows/mate-window-properties.c | 3 |
4 files changed, 2 insertions, 16 deletions
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 <config.h> -#include <libintl.h> +#include <glib.h> +#include <glib/gi18n.h> #include <gtk/gtk.h> #include <gdk/gdkx.h> #include <gdk/gdkkeysyms.h> #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" |