[librsvg: 6/23] Add missing description for RsvgHandleFlags




commit 50213bf07f96a8645732fe388e0db5c25d901a5e
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jan 6 13:40:33 2022 -0600

    Add missing description for RsvgHandleFlags
    
    The individual flags were described, but not the whole enum.  Found
    with `gi-docgen check`.
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/650>

 include/librsvg/rsvg.h | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/include/librsvg/rsvg.h b/include/librsvg/rsvg.h
index eecc74540..00d41b7b0 100644
--- a/include/librsvg/rsvg.h
+++ b/include/librsvg/rsvg.h
@@ -966,6 +966,10 @@ gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle,
  * 
documentation](https://www.cairographics.org/manual/cairo-cairo-surface-t.html#cairo-surface-set-mime-data)
  * for details.
  *
+ * Configuration flags for an `RsvgHandle`.  Note that not all of `RsvgHandle`'s
+ * constructors let you specify flags.  For this reason, rsvg_handle_new_from_gfile_sync()
+ * and rsvg_handle_new_from_stream_sync() are the preferred ways to create a handle.
+ *
  * Since: 2.40.3
  */
 typedef enum /*< flags >*/


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