Mercurial > audlegacy
changeset 3080:5dc103115dab
added a default drawing for ui_skinned_monostereo
author | Giacomo Lozito <james@develia.org> |
---|---|
date | Mon, 16 Jul 2007 00:02:11 +0200 |
parents | 72766f2e8713 |
children | ba2143c1c6f5 |
files | src/audacious/ui_skinned_monostereo.c |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_monostereo.c Sun Jul 15 20:02:21 2007 +0200 +++ b/src/audacious/ui_skinned_monostereo.c Mon Jul 16 00:02:11 2007 +0200 @@ -189,10 +189,6 @@ gc = gdk_gc_new(obj); switch (monostereo->num_channels) { - case 0: - skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); - skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); - break; case 1: skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 0, 0, 0, 27, 12); skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); @@ -201,6 +197,11 @@ skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 0, 27, 0, 29, 12); break; + default: + case 0: + skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 29, 12, 0, 0, 27, 12); + skin_draw_pixmap(bmp_active_skin, obj, gc, monostereo->skin_index, 0, 12, 27, 0, 29, 12); + break; } GdkPixmap *image = NULL;