diff audacious/widgets/skin.c @ 1849:d8791a0b2902 trunk

[svn] - change skin_mask_info[] if the player sizes change.
author nenolod
date Mon, 09 Oct 2006 03:04:44 -0700
parents c673508130a8
children 1014e22133e2
line wrap: on
line diff
--- a/audacious/widgets/skin.c	Mon Oct 09 02:58:18 2006 -0700
+++ b/audacious/widgets/skin.c	Mon Oct 09 03:04:44 2006 -0700
@@ -945,6 +945,9 @@
         g_free(tmp);
     }
 
+    /* XXX: use of skin_mask_info here is bad */
+    skin_mask_info[0].width = skin->properties.mainwin_width;
+
     skin->properties.mainwin_height = 116;
     tmp = read_ini_string(filename, "skin", "mainwinHeight");
 
@@ -954,6 +957,9 @@
         g_free(tmp);
     }
 
+    /* XXX: use of skin_mask_info here is bad */
+    skin_mask_info[0].height = skin->properties.mainwin_height;
+
     skin->properties.mainwin_about_x = 247;
     tmp = read_ini_string(filename, "skin", "mainwinAboutX");