pidgin/gtkblist.c

changeset 41766
78a984e17548
parent 41733
a9085b52de8b
child 41840
fe350460fb1c
equal deleted inserted replaced
41765:6b1dc67b861d 41766:78a984e17548
1802 1802
1803 if (idle) 1803 if (idle)
1804 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.25, FALSE); 1804 gdk_pixbuf_saturate_and_pixelate(buf, buf, 0.25, FALSE);
1805 } 1805 }
1806 1806
1807 /* I'd use the pidgin_buddy_icon_get_scale_size() thing, but it won't
1808 * tell me the original size, which I need for scaling purposes. */
1809 scale_width = orig_width = gdk_pixbuf_get_width(buf); 1807 scale_width = orig_width = gdk_pixbuf_get_width(buf);
1810 scale_height = orig_height = gdk_pixbuf_get_height(buf); 1808 scale_height = orig_height = gdk_pixbuf_get_height(buf);
1811 1809
1812 if (protocol) 1810 if (protocol)
1813 icon_spec = purple_protocol_get_icon_spec(protocol); 1811 icon_spec = purple_protocol_get_icon_spec(protocol);

mercurial