# HG changeset patch # User Tomasz Mon # Date 1195134910 -3600 # Node ID 6980f1c10de1adcdd5ce7ee33ce9005af22cf608 # Parent 80d5be1d31a1bf7d98ce6f93cc4358c36dec31a1 cosmetic changes, also removing FIXME statement as this code is more universal now diff -r 80d5be1d31a1 -r 6980f1c10de1 src/audacious/skin.c --- 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;