summaryrefslogtreecommitdiff
path: root/cargo-vendor-config
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2018-06-22 20:13:30 -0500
committerFederico Mena Quintero <federico@gnome.org>2018-06-22 20:15:42 -0500
commit9c0af468078e1e230679751b03641c76b15b5218 (patch)
tree52f2d4247c41b02bfa583895af47963aa004a313 /cargo-vendor-config
parentc41384f3680c768990d681695ec590fee123bc0a (diff)
downloadlibrsvg-9c0af468078e1e230679751b03641c76b15b5218.tar.gz
Remove RsvgViewBox; return an additional gboolean from rsvg_node_svg_get_view_box()
The only purpose of the "active" field in typedef struct { cairo_rectangle_t rect; gboolean active; } RsvgViewBox; was for rsvg_node_svg_get_view_box() to return whether the <svg> element actually had a viewBox attribute. If not, the .rect was set to all-zeros. We get rid of this struct, and return a cairo_rectangle_t directly from that function plus an extra boolean.
Diffstat (limited to 'cargo-vendor-config')
0 files changed, 0 insertions, 0 deletions