diff options
author | Federico Mena Quintero <federico@gnome.org> | 2019-03-28 10:45:23 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2019-03-28 10:45:23 -0600 |
commit | fa6ffc69ee05c8c274cf664818edfd2b07fc045e (patch) | |
tree | 9767863fffe72fd74911323957b1802ea8879e53 /librsvg | |
parent | c1df6ad3e7972581ecf5d4f58a47386e1333c4a1 (diff) | |
download | librsvg-fa6ffc69ee05c8c274cf664818edfd2b07fc045e.tar.gz |
Mention which function replaces get_dimensions_sub/get_position_sub
Diffstat (limited to 'librsvg')
-rw-r--r-- | librsvg/rsvg-handle.c | 4 | ||||
-rw-r--r-- | librsvg/rsvg.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c index 7469841c..48e69f20 100644 --- a/librsvg/rsvg-handle.c +++ b/librsvg/rsvg-handle.c @@ -801,7 +801,7 @@ rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_dat * Get the size of a subelement of the SVG file. Do not call from within the * size_func callback, because an infinite loop will occur. * - * Deprecated: 2.46. FIXME: point to deprecation documentation. + * Deprecated: 2.46. Use rsvg_handle_get_geometry_for_element() instead. * * Since: 2.22 */ @@ -826,7 +826,7 @@ rsvg_handle_get_dimensions_sub (RsvgHandle *handle, * Get the position of a subelement of the SVG file. Do not call from within * the size_func callback, because an infinite loop will occur. * - * Deprecated: 2.46. FIXME: point to deprecation documentation. + * Deprecated: 2.46. Use rsvg_handle_get_geometry_for_element() instead. * * Since: 2.22 */ diff --git a/librsvg/rsvg.h b/librsvg/rsvg.h index 63e31c8b..f5e4252a 100644 --- a/librsvg/rsvg.h +++ b/librsvg/rsvg.h @@ -190,12 +190,12 @@ void rsvg_handle_set_base_uri (RsvgHandle *handle, const char *base_uri) void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data); -RSVG_DEPRECATED +RSVG_DEPRECATED_FOR(rsvg_handle_get_geometry_for_element) gboolean rsvg_handle_get_dimensions_sub (RsvgHandle *handle, RsvgDimensionData *dimension_data, const char *id); -RSVG_DEPRECATED +RSVG_DEPRECATED_FOR(rsvg_handle_get_geometry_for_element) gboolean rsvg_handle_get_position_sub (RsvgHandle *handle, RsvgPositionData *position_data, const char *id); |