diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-30 04:46:33 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-13 14:28:05 -0600 |
commit | 04aae5f7ad1ab48248307b8995e558ad866afee5 (patch) | |
tree | a486b06e117dd2a1e63ffe13750bede235c926ea /tests/test-itemize.c | |
parent | f9568e765a7407c6f35ad324836442525bc35c73 (diff) | |
download | pango-04aae5f7ad1ab48248307b8995e558ad866afee5.tar.gz |
Redo attributes
Do away with PangoAttribute subclassing,
and turn the PangoAttribute struct into
a union. Redo custom attribute registration
to be more useful.
Diffstat (limited to 'tests/test-itemize.c')
-rw-r--r-- | tests/test-itemize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-itemize.c b/tests/test-itemize.c index 267c1b62..fc87a959 100644 --- a/tests/test-itemize.c +++ b/tests/test-itemize.c @@ -57,7 +57,7 @@ static gboolean affects_itemization (PangoAttribute *attr, gpointer data) { - switch ((int)attr->klass->type) + switch ((int)attr->type) { /* These affect font selection */ case PANGO_ATTR_LANGUAGE: |