Mercurial > dwindows
diff gtk/dw.c @ 1707:0b1be0a99f59
Opps committed wrong version of _icon_resize() for GTK2.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 05 May 2012 21:21:49 +0000 |
parents | fb6807b0ab0d |
children | de49c1f284b2 |
line wrap: on
line diff
--- a/gtk/dw.c Sat May 05 21:18:32 2012 +0000 +++ b/gtk/dw.c Sat May 05 21:21:49 2012 +0000 @@ -6963,8 +6963,8 @@ /* Internal function to keep HICNs from getting too big */ GdkPixbuf *_icon_resize(GdkPixbuf *ret) { - pwidth = gdk_pixbuf_get_width(ret); - pheight = gdk_pixbuf_get_height(ret); + int pwidth = gdk_pixbuf_get_width(ret); + int pheight = gdk_pixbuf_get_height(ret); if(pwidth > 24 || pheight > 24) {