talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2e9cc8cca6feaf242908e90a417e26d950e592f9
parent 8e02f3f3c6b091009410b081d40d187e76fe45aa
Author: Ricardo Mones <ricardo@mones.org>
Date:   Tue, 31 Jan 2017 20:02:51 +0100

Remove obsolete font prefs

Diffstat:
Msrc/prefs_common.c | 14+-------------
Msrc/prefs_common.h | 11++---------
2 files changed, 3 insertions(+), 22 deletions(-)

diff --git 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 @@ -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;