Skip to content
Commit 1e049c22 authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

icon-utils: add a method to embed a surface in a frame

It's a variant of gd_embed_image_in_frame() that takes a cairo_surface_t
instead of a GdkPixbuf.
gd_embed_image_in_frame() now is implemented on top of the surface
variant.

Note: while it may seem that this makes framing a pixbuf slower by
adding a pixbuf->surface conversion, GTK+ already implements
gtk_render_icon() on top of gtk_render_icon_surface() so it ends up
being the same.
parent 241f3d59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment