diff options
author | monsta <[email protected]> | 2016-11-02 15:38:24 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-02 15:38:24 +0300 |
commit | b90041cb958032b3307eb19e0fd37831d54c5d9a (patch) | |
tree | bb5c034f7cab7e19d3947bf67ed7fc9cad090b82 /capplets/common/mate-theme-apply.c | |
parent | 7ec8dfe386585a28257a443bcc5c47d937c741fb (diff) | |
download | mate-control-center-b90041cb958032b3307eb19e0fd37831d54c5d9a.tar.bz2 mate-control-center-b90041cb958032b3307eb19e0fd37831d54c5d9a.tar.xz |
build: require XCursor unconditionally
and drop bundled cursor files (.pcf) - they are not used at all
when XCursor library is in use
Diffstat (limited to 'capplets/common/mate-theme-apply.c')
-rw-r--r-- | capplets/common/mate-theme-apply.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/capplets/common/mate-theme-apply.c b/capplets/common/mate-theme-apply.c index df5a8953..6f0cc09e 100644 --- a/capplets/common/mate-theme-apply.c +++ b/capplets/common/mate-theme-apply.c @@ -37,7 +37,6 @@ #define MARCO_THEME_KEY "theme" #define MOUSE_SCHEMA "org.mate.peripherals-mouse" -#define CURSOR_FONT_KEY "cursor-font" #define CURSOR_THEME_KEY "cursor-theme" #define CURSOR_SIZE_KEY "cursor-size" @@ -123,7 +122,6 @@ mate_meta_theme_set (MateThemeMetaInfo *meta_theme_info) } /* Set the cursor theme key */ -#ifdef HAVE_XCURSOR old_key = g_settings_get_string (mouse_settings, CURSOR_THEME_KEY); if (compare (old_key, meta_theme_info->cursor_theme_name)) { @@ -135,13 +133,6 @@ mate_meta_theme_set (MateThemeMetaInfo *meta_theme_info) { g_settings_set_int (mouse_settings, CURSOR_SIZE_KEY, meta_theme_info->cursor_size); } -#else - old_key = g_settings_get_string (mouse_settings, CURSOR_FONT_KEY); - if (compare (old_key, meta_theme_info->cursor_theme_name)) - { - g_settings_set_string (mouse_settings, CURSOR_FONT_KEY, meta_theme_info->cursor_theme_name); - } -#endif g_free (old_key); g_object_unref (interface_settings); |