cell text: Handle new pango enum values

The PangoUnderline enum grew some new values.
This commit is contained in:
Matthias Clasen 2019-11-04 23:14:44 +00:00
parent 427b5d187c
commit 6e5da14294

View File

@ -1521,10 +1521,20 @@ get_layout (GtkCellRendererText *celltext,
uline = PANGO_UNDERLINE_SINGLE;
break;
#if PANGO_VERSION_CHECK(1,45,0)
case PANGO_UNDERLINE_SINGLE:
uline = PANGO_UNDERLINE_DOUBLE;
break;
case PANGO_UNDERLINE_SINGLE_LINE:
uline = PANGO_UNDERLINE_DOUBLE_LINE;
break;
case PANGO_UNDERLINE_DOUBLE_LINE:
case PANGO_UNDERLINE_ERROR_LINE:
break;
#endif
case PANGO_UNDERLINE_DOUBLE:
case PANGO_UNDERLINE_LOW:
case PANGO_UNDERLINE_ERROR: