Remove obsolete font prefs
authorRicardo Mones <ricardo@mones.org>
Tue, 31 Jan 2017 19:02:51 +0000 (20:02 +0100)
committerRicardo Mones <ricardo@mones.org>
Tue, 31 Jan 2017 19:02:51 +0000 (20:02 +0100)
src/prefs_common.c
src/prefs_common.h

index b0def0dbf1731b2d902d09e1d5dd22dcf26dadbf..7be13c4bae1e95ec8ea28a2513a875cfb4f2040a 100644 (file)
@@ -319,19 +319,7 @@ static PrefParam param[] = {
         NULL, NULL, NULL},
 
        /* Display */
         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},
 #ifndef GENERIC_UMPC
        {"widget_font_gtk2",    NULL,
          &SPECIFIC_PREFS.widgetfont,           P_STRING, NULL, NULL, NULL},
index 505d4dcfb3f27cd911c188fe3ffe1490ca5aa73e..467ecdd82de39e4c5eef11e6c7a303617506f7dc 100644 (file)
@@ -194,16 +194,9 @@ struct _PrefsCommon
        gboolean recheck_when_changing_dict;
        gboolean use_alternate;
        gboolean use_both_dicts;
        gboolean recheck_when_changing_dict;
        gboolean use_alternate;
        gboolean use_both_dicts;
-        
+
        /* Display */
        /* 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;
        gchar *widgetfont;
        gchar *textfont;
        gchar *printfont;