changeset 94942:3cef4d4e304b

(x_load_resources): Don't setup a fontset resource.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 01:43:24 +0000
parents 8cbdb26068b4
children 9a4044b9c084
files src/xrdb.c
diffstat 1 files changed, 0 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Wed May 14 01:43:03 2008 +0000
+++ b/src/xrdb.c	Wed May 14 01:43:24 2008 +0000
@@ -610,29 +610,6 @@
 
 #endif /* not USE_MOTIF */
 
-#ifdef HAVE_X_I18N
-  {
-#ifdef USE_MOTIF
-    Bool motif = True;
-#else  /* not USE_MOTIF */
-    Bool motif = False;
-#endif  /* not USE_MOTIF */
-    /* Setup the default fontSet resource.  */
-    extern char *xic_create_fontsetname P_ ((char *base_fontname, Bool motif));
-    char *fontsetname = xic_create_fontsetname (helv, motif);
-    int len = strlen (fontsetname);
-    char *buf = line;
-
-    /* fontsetname may be very long.  */
-    if (len + 16 > 256)
-      buf = alloca (len + 16);
-    sprintf (buf, "Emacs*fontSet: %s", fontsetname);
-    XrmPutLineResource (&rdb, buf);
-    if (fontsetname != helv)
-      xfree (fontsetname);
-  }
-#endif	/* HAVE_X_I18N */
-
   user_database = get_user_db (display);
 
   /* Figure out what the "customization string" is, so we can use it