diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-24 23:00:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-07-04 11:17:21 -0400 |
commit | 778df432eb9bba4441d4c47cdbfbcd385b1e9d42 (patch) | |
tree | 39b66234cc325aafdddcebd76ec888d0cc099aaa /utils/viewer.h | |
parent | 249ce63ebb3d5666d5559184dd7c2c65e32695c2 (diff) | |
download | pango-778df432eb9bba4441d4c47cdbfbcd385b1e9d42.tar.gz |
Convert to the pango2 prefix
This makes pango 2 not just parallel-installable
with pango 1.x, but parallel-usable in the same
process.
Diffstat (limited to 'utils/viewer.h')
-rw-r--r-- | utils/viewer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/viewer.h b/utils/viewer.h index c4d58193..adcd740a 100644 --- a/utils/viewer.h +++ b/utils/viewer.h @@ -1,4 +1,4 @@ -/* viewer.h: PangoViewer class +/* viewer.h: Pango2Viewer class * * Copyright (C) 1999,2004,2005 Red Hat, Inc. * Copyright (C) 2001 Sun Microsystems @@ -23,9 +23,9 @@ #include <pango/pango.h> -typedef struct _PangoViewer PangoViewer; +typedef struct _Pango2Viewer Pango2Viewer; -struct _PangoViewer { +struct _Pango2Viewer { const char *name; @@ -33,11 +33,11 @@ struct _PangoViewer { const char *write_suffix; - gpointer (*create) (const PangoViewer *klass); + gpointer (*create) (const Pango2Viewer *klass); void (*destroy) (gpointer instance); - PangoContext * (*get_context) (gpointer instance); + Pango2Context * (*get_context) (gpointer instance); gpointer (*create_surface) (gpointer instance, int width, @@ -48,7 +48,7 @@ struct _PangoViewer { void (*render) (gpointer instance, gpointer surface, - PangoContext *context, + Pango2Context *context, int *width, int *height, gpointer state); @@ -90,9 +90,9 @@ struct _PangoViewer { int height, int stride); - GOptionGroup * (*get_option_group) (const PangoViewer *klass); + GOptionGroup * (*get_option_group) (const Pango2Viewer *klass); }; -extern const PangoViewer *viewers[]; +extern const Pango2Viewer *viewers[]; #endif /* VIEWER_H */ |