[pango] win32: Add a placeholder for new underline values
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] win32: Add a placeholder for new underline values
- Date: Fri, 1 Nov 2019 17:56:14 +0000 (UTC)
commit 2099fcf52b4f33da77c9fe11210ee3c2c927c449
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 1 13:54:42 2019 -0400
win32: Add a placeholder for new underline values
Somebody with access to a win32 machine will have
to implement these, as well as overline.
This placeholder should at least fix the build
with draconian compiler flags (-Werror=switch).
pango/pangowin32.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/pango/pangowin32.c b/pango/pangowin32.c
index c08ae24b..737cfa14 100644
--- a/pango/pangowin32.c
+++ b/pango/pangowin32.c
@@ -1044,6 +1044,11 @@ pango_win32_render_layout_line (HDC hdc,
points[1].x = x + PANGO_PIXELS (x_off + ink_rect.x + ink_rect.width);
Polyline (hdc, points, 2);
break;
+ case PANGO_UNDERLINE_SINGLE_LINE:
+ case PANGO_UNDERLINE_DOUBLE_LINE:
+ case PANGO_UNDERLINE_ERROR_LINE:
+ g_warning ("Underline value %d not implemented", uline);
+ break;
}
if (uline != PANGO_UNDERLINE_NONE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]