summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorChristopher Blizzard <blizzard@redhat.com>2004-06-17 20:26:42 +0000
committerChristopher Blizzard <blizzard@src.gnome.org>2004-06-17 20:26:42 +0000
commit329566a3e3af0cfebdb561978e6622ebe8208108 (patch)
tree2a001b6660c5fb553bef42d4a297b5ba70babb71 /pango
parent5ca931f88a431fa7158a8e406d3bf92a1bdafd07 (diff)
downloadpango-329566a3e3af0cfebdb561978e6622ebe8208108.tar.gz
Changes to support extra arguments.
2004-06-17 Christopher Blizzard <blizzard@redhat.com> * pango/pangofc-decoder.c (pango_fc_decoder_get_glyph, pango_fc_decoder_get_charset): Changes to support extra arguments. * pango/pangofc-decoder.h (struct _PangoFcDecoderClass): Add the PangoFcDecoder * as the first argument to the callbacks for get_glyph and get_charset.
Diffstat (limited to 'pango')
-rw-r--r--pango/pangofc-decoder.c4
-rw-r--r--pango/pangofc-decoder.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/pango/pangofc-decoder.c b/pango/pangofc-decoder.c
index 41e8c141..ff177b1e 100644
--- a/pango/pangofc-decoder.c
+++ b/pango/pangofc-decoder.c
@@ -60,7 +60,7 @@ pango_fc_decoder_get_charset (PangoFcDecoder *decoder,
{
g_return_val_if_fail (PANGO_IS_FC_DECODER (decoder), NULL);
- return PANGO_FC_DECODER_GET_CLASS (decoder)->get_charset (fcfont);
+ return PANGO_FC_DECODER_GET_CLASS (decoder)->get_charset (decoder, fcfont);
}
/**
@@ -84,5 +84,5 @@ pango_fc_decoder_get_glyph (PangoFcDecoder *decoder,
{
g_return_val_if_fail (PANGO_IS_FC_DECODER (decoder), 0);
- return PANGO_FC_DECODER_GET_CLASS (decoder)->get_glyph (fcfont, wc);
+ return PANGO_FC_DECODER_GET_CLASS (decoder)->get_glyph (decoder, fcfont, wc);
}
diff --git a/pango/pangofc-decoder.h b/pango/pangofc-decoder.h
index 34b5f180..0178ab1b 100644
--- a/pango/pangofc-decoder.h
+++ b/pango/pangofc-decoder.h
@@ -84,8 +84,10 @@ struct _PangoFcDecoderClass
/* vtable - not signals */
/*< public >*/
- FcCharSet *(*get_charset) (PangoFcFont *fcfont);
- PangoGlyph (*get_glyph) (PangoFcFont *fcfont,
+ FcCharSet *(*get_charset) (PangoFcDecoder *decoder,
+ PangoFcFont *fcfont);
+ PangoGlyph (*get_glyph) (PangoFcDecoder *decoder,
+ PangoFcFont *fcfont,
guint32 wc);
/*< private >*/