summaryrefslogtreecommitdiff
path: root/librsvg
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2019-07-24 12:55:18 -0500
committerFederico Mena Quintero <federico@gnome.org>2019-07-24 12:55:18 -0500
commitb800a38a62ae98bd1c5856d8f746bee9605bca0a (patch)
tree42a91c6e311225a6404ac8ec7310350bb1cd88bb /librsvg
parentbea9fa3095f5d956a32b8bf39a4d7715deca275f (diff)
downloadlibrsvg-b800a38a62ae98bd1c5856d8f746bee9605bca0a.tar.gz
Mention panics due to incorrect API ordering in the new API functions
Diffstat (limited to 'librsvg')
-rw-r--r--librsvg/rsvg-handle.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c
index 9ec95f90..4650ca5d 100644
--- a/librsvg/rsvg-handle.c
+++ b/librsvg/rsvg-handle.c
@@ -1199,6 +1199,8 @@ rsvg_handle_set_size_callback (RsvgHandle *handle,
* API ordering: This function must be called on a fully-loaded @handle. See
* the section <link href="#API-ordering">API ordering</link> for details.
*
+ * Panics: this function will panic if the @handle is not fully-loaded.
+ *
* Since: 2.46
*/
void
@@ -1256,6 +1258,11 @@ rsvg_handle_get_intrinsic_dimensions (RsvgHandle *handle,
* This operation is not constant-time, as it involves going through all
* the child elements.
*
+ * API ordering: This function must be called on a fully-loaded @handle. See
+ * the section <link href="#API-ordering">API ordering</link> for details.
+ *
+ * Panics: this function will panic if the @handle is not fully-loaded.
+ *
* Since: 2.46
*/
gboolean