From 2e9cc8cca6feaf242908e90a417e26d950e592f9 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Tue, 31 Jan 2017 20:02:51 +0100 Subject: [PATCH 1/1] Remove obsolete font prefs --- src/prefs_common.c | 14 +------------- src/prefs_common.h | 11 ++--------- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/src/prefs_common.c b/src/prefs_common.c index b0def0dbf..7be13c4ba 100644 --- a/src/prefs_common.c +++ b/src/prefs_common.c @@ -319,19 +319,7 @@ static PrefParam param[] = { NULL, NULL, NULL}, /* Display */ - /* Obsolete fonts. For coexisting with Gtk+-1.2 version */ - {"widget_font", NULL, - &prefs_common.widgetfont_gtk1, P_STRING, NULL, NULL, NULL}, - {"message_font", "-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*", - &prefs_common.textfont_gtk1, P_STRING, NULL, NULL, NULL}, - {"small_font", "-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*", - &prefs_common.smallfont_gtk1, P_STRING, NULL, NULL, NULL}, - {"bold_font", "-*-helvetica-bold-r-normal--12-*-*-*-*-*-*-*", - &prefs_common.boldfont_gtk1, P_STRING, NULL, NULL, NULL}, - {"normal_font", "-*-helvetica-medium-r-normal--12-*-*-*-*-*-*-*", - &prefs_common.normalfont_gtk1, P_STRING, NULL, NULL, NULL}, - - /* new fonts */ + /* fonts */ #ifndef GENERIC_UMPC {"widget_font_gtk2", NULL, &SPECIFIC_PREFS.widgetfont, P_STRING, NULL, NULL, NULL}, diff --git a/src/prefs_common.h b/src/prefs_common.h index 505d4dcfb..467ecdd82 100644 --- a/src/prefs_common.h +++ b/src/prefs_common.h @@ -194,16 +194,9 @@ struct _PrefsCommon gboolean recheck_when_changing_dict; gboolean use_alternate; gboolean use_both_dicts; - + /* Display */ - /* obsolete fonts */ - gchar *widgetfont_gtk1; - gchar *textfont_gtk1; - gchar *normalfont_gtk1; - gchar *boldfont_gtk1; - gchar *smallfont_gtk1; - - /* new fonts */ + /* fonts */ gchar *widgetfont; gchar *textfont; gchar *printfont; -- 2.25.1