diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-02-22 13:26:00 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-02-22 13:26:00 +0000 |
| commit | 46f8f4bcb43be76d6c200bcbe1a33474e1ad70cb (patch) | |
| tree | 91ed2f442f96d9e44b9daa0ad035e260f460f9ea /src/Xutf8.h | |
| parent | 958d912ffcdb41e977fa4e95819bd4cee836b697 (diff) | |
Fix undefined reference XGetUtf8FontAndGlyph (STR #3191).
XGetUtf8FontAndGlyph was referenced in libfltk_gl if configured w/o xft
and defined in libfltk, but not exported (regression since 1.3.3).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Xutf8.h')
| -rw-r--r-- | src/Xutf8.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Xutf8.h b/src/Xutf8.h index 51fc28291..8fe0ba0cb 100644 --- a/src/Xutf8.h +++ b/src/Xutf8.h @@ -25,6 +25,7 @@ extern "C" { #include <X11/Xlib.h> #include <X11/Xlocale.h> #include <X11/Xutil.h> +#include <FL/Fl_Export.H> typedef struct { int nb_font; @@ -98,8 +99,8 @@ XUtf8UcsWidth( XUtf8FontStruct *font_set, unsigned int ucs); -int -XGetUtf8FontAndGlyph( +FL_EXPORT int +fl_XGetUtf8FontAndGlyph( XUtf8FontStruct *font_set, unsigned int ucs, XFontStruct **fnt, |
