• Timm Bäder's avatar
    pixbufutils: Only get icon size once · 8eb62f13
    Timm Bäder authored
    load_symbolic_svg was loading the pixbuf just to get its size via
    gdk_pixbuf_get_{width,height}. However, this function is called in a
    loop in gtk_make_symbolic_pixbuf_from_data.
    So, do this only once and pass the icon size along to load_symbolic_svg.
gdkpixbufutils.c 11.7 KB