[librsvg: 7/11] Add links to the "API ordering" section in the inline docs




commit e926f83a13a525c6a176a4f9ed37f7fc7a925cbe
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Mar 10 19:04:06 2022 -0600

    Add links to the "API ordering" section in the inline docs
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/674>

 include/librsvg/rsvg-cairo.h | 10 +++++-----
 include/librsvg/rsvg.h       |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/include/librsvg/rsvg-cairo.h b/include/librsvg/rsvg-cairo.h
index fe5d8d84c..4b4f86221 100644
--- a/include/librsvg/rsvg-cairo.h
+++ b/include/librsvg/rsvg-cairo.h
@@ -171,7 +171,7 @@ gboolean rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const ch
  * in the @error argument.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *
@@ -222,7 +222,7 @@ gboolean rsvg_handle_render_document (RsvgHandle           *handle,
  * are returned in the @error argument.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *
@@ -271,7 +271,7 @@ gboolean rsvg_handle_get_geometry_for_layer (RsvgHandle     *handle,
  * in the @error argument.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *
@@ -328,7 +328,7 @@ gboolean rsvg_handle_render_layer (RsvgHandle           *handle,
  * are returned in the @error argument.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *
@@ -373,7 +373,7 @@ gboolean rsvg_handle_get_geometry_for_element (RsvgHandle     *handle,
  * in the @error argument.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *
diff --git a/include/librsvg/rsvg.h b/include/librsvg/rsvg.h
index a8237402c..76e53d221 100644
--- a/include/librsvg/rsvg.h
+++ b/include/librsvg/rsvg.h
@@ -612,7 +612,7 @@ gboolean rsvg_handle_close (RsvgHandle *handle, GError **error);
  * the caller of this function must assume that ref.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * This function depends on the `RsvgHandle`'s dots-per-inch value (DPI) to compute the
  * "natural size" of the document in pixels, so you should call rsvg_handle_set_dpi()
@@ -648,7 +648,7 @@ GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle *handle);
  * has an `id="foo"` attribute.
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Returns: (transfer full) (nullable): a pixbuf, or `NULL` if an error occurs
  * during rendering.
@@ -871,7 +871,7 @@ typedef struct {
  * ```
  *
  * API ordering: This function must be called on a fully-loaded @handle.  See
- * the section "API ordering" for details.
+ * the section "[API ordering](class.Handle.html#api-ordering)" for details.
  *
  * Panics: this function will panic if the @handle is not fully-loaded.
  *


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