summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jurkiewicz <[email protected]>2016-04-24 01:00:36 +0200
committerPiotr Jurkiewicz <[email protected]>2016-05-27 02:07:21 +0200
commit183b80d1d681228f1158613e679617040885e489 (patch)
treeb08b7cc4ad93a74b1e4ad96fabe71f10d82fb803
parent0c3ebeb3d25fcb1d67d8316cd62acd887c2a7e25 (diff)
downloadmate-control-center-183b80d1d681228f1158613e679617040885e489.tar.bz2
mate-control-center-183b80d1d681228f1158613e679617040885e489.tar.xz
Render hinting samples using ANTIALIAS_RGBA
Change this in order to match change of default antialiasing mode to 'rgba' introduced in mate-desktop/mate-settings-daemon@921505df63f9fa55089b519bd8629210.
-rw-r--r--capplets/appearance/appearance-font.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c
index 19583a4f..b5ab02b3 100644
--- a/capplets/appearance/appearance-font.c
+++ b/capplets/appearance/appearance-font.c
@@ -562,10 +562,10 @@ cb_show_details (GtkWidget *button,
NULL);
data->font_groups = g_slist_prepend (data->font_groups, group);
- setup_font_sample (appearance_capplet_get_widget (data, "hint_none_sample"), ANTIALIAS_GRAYSCALE, HINT_NONE);
- setup_font_sample (appearance_capplet_get_widget (data, "hint_slight_sample"), ANTIALIAS_GRAYSCALE, HINT_SLIGHT);
- setup_font_sample (appearance_capplet_get_widget (data, "hint_medium_sample"), ANTIALIAS_GRAYSCALE, HINT_MEDIUM);
- setup_font_sample (appearance_capplet_get_widget (data, "hint_full_sample"), ANTIALIAS_GRAYSCALE, HINT_FULL);
+ setup_font_sample (appearance_capplet_get_widget (data, "hint_none_sample"), ANTIALIAS_RGBA, HINT_NONE);
+ setup_font_sample (appearance_capplet_get_widget (data, "hint_slight_sample"), ANTIALIAS_RGBA, HINT_SLIGHT);
+ setup_font_sample (appearance_capplet_get_widget (data, "hint_medium_sample"), ANTIALIAS_RGBA, HINT_MEDIUM);
+ setup_font_sample (appearance_capplet_get_widget (data, "hint_full_sample"), ANTIALIAS_RGBA, HINT_FULL);
group = enum_group_create (data->font_settings, FONT_HINTING_KEY,
appearance_capplet_get_widget (data, "hint_none_radio"), HINT_NONE,