changeset 90461:2457d1153a8b

(xfont_parse_name): Delete this function.
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Jun 2006 12:13:36 +0000
parents 86449661f321
children 5981c99ef5ba
files src/xfont.c
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfont.c	Fri Jun 16 12:12:49 2006 +0000
+++ b/src/xfont.c	Fri Jun 16 12:13:36 2006 +0000
@@ -238,7 +238,6 @@
 }
 
 static Lisp_Object xfont_get_cache P_ ((Lisp_Object));
-static int xfont_parse_name P_ ((FRAME_PTR, char *, Lisp_Object));
 static Lisp_Object xfont_list P_ ((Lisp_Object, Lisp_Object));
 static Lisp_Object xfont_list_family P_ ((Lisp_Object));
 static struct font *xfont_open P_ ((FRAME_PTR, Lisp_Object, int));
@@ -257,7 +256,6 @@
   {
     (Lisp_Object) NULL,		/* Qx */
     xfont_get_cache,
-    xfont_parse_name,
     xfont_list,
     xfont_list_family,
     NULL,
@@ -282,23 +280,6 @@
   return (dpyinfo->name_list_element);
 }
 
-static int
-xfont_parse_name (f, name, spec)
-     FRAME_PTR f;
-     char *name;
-     Lisp_Object spec;
-{
-  if (font_parse_xlfd (name, spec, 0) >= 0)
-    return 0;
-  name = xfont_query_font (FRAME_X_DISPLAY (f), name, spec);
-  if (name)
-    {
-      XFree (name);
-      return 0;
-    }
-  return -1;
-}
-
 extern Lisp_Object Vface_alternative_font_registry_alist;
 
 static Lisp_Object