[webkit-gtk] possible solutions for local files on win32
Martin Robinson
martin.james.robinson at gmail.com
Tue Mar 2 14:13:52 PST 2010
On Tue, Mar 2, 2010 at 2:00 PM, Jean-Philippe Chancelier
<jpc at cermics.enpc.fr> wrote:
> Josip> On 02.03.2010 16:45, Phil Longstaff wrote:
> >> I have had no success with building webkit/gtk on my own. Do you have a
> >> version which works on windows and which supports file:// URLS? Can you
> >> make in available? What steps do I need to follow to set up the mime
> >> types?
Can those with some more insight into GLib give a good reason
why the fix for this issue:
+ #if PLATFORM(WIN_OS)
+ response.setMimeType(g_content_type_get_mime_type(g_file_info_get_content_type(info)));
+ #else
response.setMimeType(g_file_info_get_content_type(info));
+ #endif
response.setExpectedContentLength(g_file_info_get_size(info));
Shouldn't just be:
response.setMimeType(g_content_type_get_mime_type(g_file_info_get_content_type(info)));
for all platforms?
More information about the webkit-gtk
mailing list