Mercurial > audlegacy
diff audacious/ui_fileinfo.c @ 2055:8feb3d69b5be trunk
[svn] - cleanups from oliver@freebsd.org
author | nenolod |
---|---|
date | Mon, 04 Dec 2006 15:03:22 -0800 |
parents | beaeb1990cb4 |
children | 25308f10b50f |
line wrap: on
line diff
--- a/audacious/ui_fileinfo.c Mon Dec 04 15:02:36 2006 -0800 +++ b/audacious/ui_fileinfo.c Mon Dec 04 15:03:22 2006 -0800 @@ -101,6 +101,7 @@ GdkPixbuf *pixbuf; int width, height; double aspect; + GdkPixbuf *pixbuf2; if (xml == NULL || widget == NULL) return; @@ -125,7 +126,7 @@ height = cfg.filepopup_pixelsize; width = (int)(cfg.filepopup_pixelsize / aspect); } - GdkPixbuf *pixbuf2 = gdk_pixbuf_scale_simple(GDK_PIXBUF(pixbuf), width, height, GDK_INTERP_BILINEAR); + pixbuf2 = gdk_pixbuf_scale_simple(GDK_PIXBUF(pixbuf), width, height, GDK_INTERP_BILINEAR); g_object_unref(G_OBJECT(pixbuf)); pixbuf = pixbuf2; } @@ -154,6 +155,7 @@ GdkPixbuf *pixbuf; int width, height; double aspect; + GdkPixbuf *pixbuf2; if (xml == NULL || widget == NULL) return; @@ -178,7 +180,7 @@ height = cfg.filepopup_pixelsize; width = (int)(cfg.filepopup_pixelsize / aspect); } - GdkPixbuf *pixbuf2 = gdk_pixbuf_scale_simple(GDK_PIXBUF(pixbuf), width, height, GDK_INTERP_BILINEAR); + pixbuf2 = gdk_pixbuf_scale_simple(GDK_PIXBUF(pixbuf), width, height, GDK_INTERP_BILINEAR); g_object_unref(G_OBJECT(pixbuf)); pixbuf = pixbuf2; }