From: Ricardo Mones Date: Tue, 31 Jan 2017 19:02:51 +0000 (+0100) Subject: Remove obsolete font prefs X-Git-Tag: 3.15.0~83 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=2e9cc8cca6feaf242908e90a417e26d950e592f9 Remove obsolete font prefs --- 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;