Updated the GTK+ code to the newest changes. I *do* need to fix this one.
This commit is contained in:
parent
81a82723d0
commit
c61bbfe5c8
|
@ -120,7 +120,7 @@ static int processAttribute(uiAttributedString *s, uiAttributeSpec *spec, size_t
|
||||||
switch (spec->Type) {
|
switch (spec->Type) {
|
||||||
case uiAttributeFamily:
|
case uiAttributeFamily:
|
||||||
addattr(p, start, end,
|
addattr(p, start, end,
|
||||||
pango_attr_family_new((const char *) (spec->Value)));
|
pango_attr_family_new(spec->Family));
|
||||||
break;
|
break;
|
||||||
case uiAttributeSize:
|
case uiAttributeSize:
|
||||||
addattr(p, start, end,
|
addattr(p, start, end,
|
||||||
|
@ -199,8 +199,8 @@ static int processAttribute(uiAttributedString *s, uiAttributeSpec *spec, size_t
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case uiAttributeFeatures:
|
case uiAttributeFeatures:
|
||||||
// TODO ensure the parentheses around spec->Value are provided on Windows
|
// TODO ensure the parentheses around spec->Value are provided on Windows (TODO still relevant?)
|
||||||
setFeaturesInRange(p, start, end, (uiOpenTypeFeatures *) (spec->Value));
|
setFeaturesInRange(p, start, end, spec->Features);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// TODO complain
|
// TODO complain
|
||||||
|
|
Loading…
Reference in New Issue