From 5466563f4b5b6b86523e3f89bb7f77e5b5270c78 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 15 Oct 2012 16:08:57 +0200 Subject: Imported WebKit commit 0dc6cd75e1d4836eaffbb520be96fac4847cc9d2 (http://svn.webkit.org/repository/webkit/trunk@131300) WebKit update which introduces the QtWebKitWidgets module that contains the WK1 widgets based API. (In fact it renames QtWebKit to QtWebKitWidgets while we're working on completing the entire split as part of https://bugs.webkit.org/show_bug.cgi?id=99314 --- Source/WebKit/gtk/webkit/webkitwebplugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/WebKit/gtk/webkit/webkitwebplugin.cpp') diff --git a/Source/WebKit/gtk/webkit/webkitwebplugin.cpp b/Source/WebKit/gtk/webkit/webkitwebplugin.cpp index e03b1ea6d..01d0bb5f2 100644 --- a/Source/WebKit/gtk/webkit/webkitwebplugin.cpp +++ b/Source/WebKit/gtk/webkit/webkitwebplugin.cpp @@ -237,10 +237,10 @@ GSList* webkit_web_plugin_get_mimetypes(WebKitWebPlugin* plugin) for (MIMEToDescriptionsMap::const_iterator it = mimeToDescriptions.begin(); it != end; ++it) { WebKitWebPluginMIMEType* mimeType = g_slice_new0(WebKitWebPluginMIMEType); - mimeType->name = g_strdup(it->first.utf8().data()); - mimeType->description = g_strdup(it->second.utf8().data()); + mimeType->name = g_strdup(it->key.utf8().data()); + mimeType->description = g_strdup(it->value.utf8().data()); - Vector extensions = priv->corePlugin->mimeToExtensions().get(it->first); + Vector extensions = priv->corePlugin->mimeToExtensions().get(it->key); mimeType->extensions = static_cast(g_malloc0(sizeof(char*) * (extensions.size() + 1))); for (unsigned i = 0; i < extensions.size(); i++) mimeType->extensions[i] = g_strdup(extensions[i].utf8().data()); -- cgit v1.2.1