forked from AuroraMiddleware/gtk
cell text: Handle new pango enum values
The PangoUnderline enum grew some new values.
This commit is contained in:
parent
427b5d187c
commit
6e5da14294
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user