diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-03-15 14:31:28 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-03-15 15:08:13 -0400 |
commit | a3e3ba07b6da4bacb85ae6874cab10286d239903 (patch) | |
tree | 0adad2caf4a487b9d54f7243b332203013e4bfa5 /pango-view/viewer-pangocairo.c | |
parent | a4e47759bab59ce5b71a316dc4075c27eeece1e4 (diff) | |
download | pango-a3e3ba07b6da4bacb85ae6874cab10286d239903.tar.gz |
[pango-view] Add ability to save to PS, EPS, PDF, and SVG
Diffstat (limited to 'pango-view/viewer-pangocairo.c')
-rw-r--r-- | pango-view/viewer-pangocairo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c index f8145f7c..a4770741 100644 --- a/pango-view/viewer-pangocairo.c +++ b/pango-view/viewer-pangocairo.c @@ -43,8 +43,7 @@ pangocairo_view_create (const PangoViewer *klass G_GNUC_UNUSED) instance = g_slice_new (CairoViewer); - instance->iface = get_cairo_viewer_iface (); - instance->backend = instance->iface->backend_class->create (instance->iface->backend_class); + instance->backend = cairo_viewer_iface_create (&instance->iface); instance->fontmap = pango_cairo_font_map_new (); pango_cairo_font_map_set_resolution (PANGO_CAIRO_FONT_MAP (instance->fontmap), opt_dpi); |