changeset 3943:6980f1c10de1

cosmetic changes, also removing FIXME statement as this code is more universal now
author Tomasz Mon <desowin@gmail.com>
date Thu, 15 Nov 2007 14:55:10 +0100
parents 80d5be1d31a1
children dae0d3a9f8f1
files src/audacious/skin.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/skin.c	Thu Nov 15 14:23:08 2007 +0100
+++ b/src/audacious/skin.c	Thu Nov 15 14:55:10 2007 +0100
@@ -1724,7 +1724,7 @@
     g_return_if_fail(pixmap != NULL);
     g_return_if_fail(pixmap->pixmap != NULL);
 
-    /* FIXME: instead of copying stuff from SKIN_MAIN, we should use transparency or resize widget */
+    /* perhaps we should use transparency or resize widget? */
     if (xsrc+width > pixmap->width || ysrc+height > pixmap->height) {
         if (pixmap_id == SKIN_EQMAIN) {
             /* there are skins which EQMAIN doesn't include pixmap for equalizer graph */
@@ -1762,13 +1762,6 @@
                     gdk_draw_drawable(drawable, gc, skin_get_pixmap(bmp_active_skin, SKIN_MAIN)->pixmap,
                                       x, y, xdest, ydest, width, height);
 
-                    /* some winamp skins have too strait SKIN_SHUFREP */
-                    if (pixmap_id == SKIN_SHUFREP)
-                        width = pixmap->width - xsrc;
-
-                    if (pixmap_id == SKIN_VOLUME)
-                        width = pixmap->width;
-
                     /* XMMS skins seems to have SKIN_MONOSTEREO with size 58x20 instead of 58x24 */
                     if (pixmap_id == SKIN_MONOSTEREO)
                         height = pixmap->height/2;