diff options
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/appearance/appearance-main.c | 4 | ||||
-rw-r--r-- | capplets/appearance/appearance.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c index be4f3682..c8256005 100644 --- a/capplets/appearance/appearance-main.c +++ b/capplets/appearance/appearance-main.c @@ -72,9 +72,7 @@ init_appearance_data (int *argc, char ***argv, GOptionContext *context) data->interface_settings = g_settings_new (INTERFACE_SCHEMA); data->marco_settings = g_settings_new (MARCO_SCHEMA); data->mouse_settings = g_settings_new (MOUSE_SCHEMA); -#ifdef HAVE_XFT2 data->font_settings = g_settings_new (FONT_RENDER_SCHEMA); -#endif /* HAVE_XFT2 */ data->ui = ui; data->thumb_factory = mate_desktop_thumbnail_factory_new (MATE_DESKTOP_THUMBNAIL_SIZE_NORMAL); } @@ -108,9 +106,7 @@ main_window_response (GtkWidget *widget, g_object_unref (data->interface_settings); g_object_unref (data->marco_settings); g_object_unref (data->mouse_settings); -#ifdef HAVE_XFT2 g_object_unref (data->font_settings); -#endif /* HAVE_XFT2 */ g_object_unref (data->ui); } else if (response_id == GTK_RESPONSE_HELP) diff --git a/capplets/appearance/appearance.h b/capplets/appearance/appearance.h index 2091324c..6f68a5c5 100644 --- a/capplets/appearance/appearance.h +++ b/capplets/appearance/appearance.h @@ -65,13 +65,11 @@ #define CURSOR_THEME_KEY "cursor-theme" #define CURSOR_SIZE_KEY "cursor-size" -#ifdef HAVE_XFT2 #define FONT_RENDER_SCHEMA "org.mate.font-rendering" #define FONT_ANTIALIASING_KEY "antialiasing" #define FONT_HINTING_KEY "hinting" #define FONT_RGBA_ORDER_KEY "rgba-order" #define FONT_DPI_KEY "dpi" -#endif /* HAVE_XFT2 */ typedef struct { GSettings* settings; @@ -80,9 +78,7 @@ typedef struct { GSettings* interface_settings; GSettings* marco_settings; GSettings* mouse_settings; -#ifdef HAVE_XFT2 GSettings* font_settings; -#endif /* HAVE_XFT2 */ GtkBuilder* ui; MateDesktopThumbnailFactory* thumb_factory; gulong screen_size_handler; |