diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-02-08 01:43:59 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-02-08 01:43:59 +0000 |
commit | 511b8ed5a686a49c5d0801e33ab240cc89cfb9f2 (patch) | |
tree | 9c518556dbcb4b7b6eb05ab6a1f8eaea16d463bd /examples/viewer.h | |
parent | e5d3dda3587222c7bbe43da45151ec17bbdb88e5 (diff) | |
download | pango-511b8ed5a686a49c5d0801e33ab240cc89cfb9f2.tar.gz |
Bug 330289 – Fix build with gcc 2.95 (pangox.c)
2006-02-07 Behdad Esfahbod <behdad@gnome.org>
Bug 330289 – Fix build with gcc 2.95 (pangox.c)
* pango/pangox.c (get_subfonts_foreach): Fixed.
Diffstat (limited to 'examples/viewer.h')
-rw-r--r-- | examples/viewer.h | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/examples/viewer.h b/examples/viewer.h index e99d5f9e..4d1d836a 100644 --- a/examples/viewer.h +++ b/examples/viewer.h @@ -32,7 +32,7 @@ struct _PangoViewer { const char *id; - const char *save_suffix; + const char *write_suffix; gpointer (*create) (const PangoViewer *klass); @@ -56,11 +56,11 @@ struct _PangoViewer { /* The following can be NULL */ - void (*save) (gpointer instance, - gpointer surface, - FILE *stream, - int width, - int height); + void (*write) (gpointer instance, + gpointer surface, + FILE *stream, + int width, + int height); gpointer (*create_window) (gpointer instance, const char *title, @@ -77,6 +77,20 @@ struct _PangoViewer { int height, gpointer state); + void (*load) (gpointer instance, + gpointer surface, + guchar *buffer, + int width, + int height, + int stride); + + void (*save) (gpointer instance, + gpointer surface, + guchar *buffer, + int width, + int height, + int stride); + }; extern const PangoViewer *fallback_viewer; |