dix: deprecate GetFontPath()

The function isn't used anymore, but still part of SDK/ABI. And it shouldn't
be used by drivers, ever. Marking it as deprecated now, so we can remove it later.

(it's also not present in recent proprietary NVidia drivers, btw)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-09-04 10:30:54 +02:00
committed by Enrico Weigelt
parent a7811ea424
commit 9678c60ad1

View File

@@ -74,9 +74,10 @@ extern _X_EXPORT int SetFontPath(ClientPtr /*client */ ,
extern _X_EXPORT int SetDefaultFontPath(const char * /*path */ );
/* not used by any known external driver, so can be removed soon */
extern _X_EXPORT int GetFontPath(ClientPtr client,
int *count,
int *length, unsigned char **result);
int *length, unsigned char **result) _X_DEPRECATED;
extern _X_EXPORT void DeleteClientFontStuff(ClientPtr /*client */ );