remove mime type stuff for now
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
Windows's built in function for getting mime type sucks, and I don't want to have to vendor in libmagic. We'll leave this as something the user can handle themselves.
This commit is contained in:
parent
9dd96d9cec
commit
e20684f89b
5 changed files with 3 additions and 49 deletions
|
|
@ -707,12 +707,6 @@ void MwSetText(MwWidget handle, const char* key, const char* value) {
|
|||
if(strcmp(key, MwNbackground) == 0 || strcmp(key, MwNforeground) == 0 || strcmp(key, MwNsubBackground) == 0 || strcmp(key, MwNsubForeground) == 0) {
|
||||
MwForceRender(handle);
|
||||
}
|
||||
|
||||
if(strcmp(key, MwNacceptedMimeType) == 0) {
|
||||
if(handle->lowlevel != NULL) {
|
||||
arrput(handle->lowlevel->common.known_mime_types, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void MwSetVoid(MwWidget handle, const char* key, void* value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue