Mercurial > audlegacy
comparison audacious/widgets/skin.c @ 2238:7b568c86b2a9 trunk
[svn] - fix sed
author | nenolod |
---|---|
date | Tue, 02 Jan 2007 22:04:44 -0800 |
parents | d507d2c1f75c |
children | 58082d2be394 |
comparison
equal
deleted
inserted
replaced
2237:d507d2c1f75c | 2238:7b568c86b2a9 |
---|---|
954 } | 954 } |
955 | 955 |
956 /* XXX: use of skin_mask_info here is bad */ | 956 /* XXX: use of skin_mask_info here is bad */ |
957 skin_mask_info[0].width = skin->properties.mainwin_width; | 957 skin_mask_info[0].width = skin->properties.mainwin_width; |
958 | 958 |
959 skin->properties.ui_main.height = 116; | 959 skin->properties.mainwin_height = 116; |
960 tmp = read_ini_string(filename, "skin", "mainwinHeight"); | 960 tmp = read_ini_string(filename, "skin", "mainwinHeight"); |
961 | 961 |
962 if (tmp != NULL) | 962 if (tmp != NULL) |
963 { | 963 { |
964 skin->properties.ui_main.height = atoi(tmp); | 964 skin->properties.mainwin_height = atoi(tmp); |
965 g_free(tmp); | 965 g_free(tmp); |
966 } | 966 } |
967 | 967 |
968 /* XXX: use of skin_mask_info here is bad */ | 968 /* XXX: use of skin_mask_info here is bad */ |
969 skin_mask_info[0].height = skin->properties.ui_main.height; | 969 skin_mask_info[0].height = skin->properties.mainwin_height; |
970 | 970 |
971 skin->properties.mainwin_about_x = 247; | 971 skin->properties.mainwin_about_x = 247; |
972 tmp = read_ini_string(filename, "skin", "mainwinAboutX"); | 972 tmp = read_ini_string(filename, "skin", "mainwinAboutX"); |
973 | 973 |
974 if (tmp != NULL) | 974 if (tmp != NULL) |