Pacify --without-x unused function warning
* src/xfaces.c (font_maybe_unset_attribute): Move definition... [HAVE_WINDOW_SYSTEM] (font_maybe_unset_attribute): ...to here, since the function is used only when we HAVE_WINDOW_SYSTEM (bug#61049).
This commit is contained in:
parent
9a21cb1075
commit
37454de0c8
1 changed files with 1 additions and 1 deletions
|
@ -6012,7 +6012,6 @@ realize_non_ascii_face (struct frame *f, Lisp_Object font_object,
|
|||
|
||||
return face;
|
||||
}
|
||||
#endif /* HAVE_WINDOW_SYSTEM */
|
||||
|
||||
/* Remove the attribute at INDEX from the font object if SYMBOL
|
||||
appears in `font-fallback-ignored-attributes'. */
|
||||
|
@ -6031,6 +6030,7 @@ font_maybe_unset_attribute (Lisp_Object font_object,
|
|||
ASET (font_object, index, Qnil);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_WINDOW_SYSTEM */
|
||||
|
||||
/* Realize the fully-specified face with attributes ATTRS in face
|
||||
cache CACHE for ASCII characters. Do it for GUI frame CACHE->f.
|
||||
|
|
Loading…
Add table
Reference in a new issue