[librsvg] Fix docs reference to a function that changed name



commit e577c3d64e61b468f0b2e7eee8ffe37d2a3e9992
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Aug 2 15:50:42 2019 -0500

    Fix docs reference to a function that changed name

 librsvg/rsvg-handle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c
index 4174f2e1..19b2fe71 100644
--- a/librsvg/rsvg-handle.c
+++ b/librsvg/rsvg-handle.c
@@ -1193,7 +1193,7 @@ rsvg_handle_set_size_callback (RsvgHandle *handle,
  * <literal>viewBox</literal> attributes in an SVG document.
  *
  * If you are calling this function to compute a scaling factor to render the SVG,
- * consider simply using rsvg_handle_render_to_viewport() instead; it will do the
+ * consider simply using rsvg_handle_render_document() instead; it will do the
  * scaling computations automatically.
  *
  * As an example, the following SVG element has a <literal>width</literal> of 100 pixels and a 
<literal>height</literal> of 400 pixels, but no <literal>viewBox</literal>:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]