summaryrefslogtreecommitdiff
path: root/rb244676.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-10-18 13:43:49 +0200
committerMartin Stransky <stransky@redhat.com>2018-10-18 13:43:49 +0200
commitfdd51631aa5f213891343cc0c6106fa21d7bae36 (patch)
tree964ffd8d968cd165c7baaa2e0bdb3a67620edfc9 /rb244676.patch
parentNew pipe wire patch (diff)
downloadlibrewolf-fedora-ff-fdd51631aa5f213891343cc0c6106fa21d7bae36.tar.gz
librewolf-fedora-ff-fdd51631aa5f213891343cc0c6106fa21d7bae36.tar.bz2
librewolf-fedora-ff-fdd51631aa5f213891343cc0c6106fa21d7bae36.zip
Updated to 63.0
Diffstat (limited to 'rb244676.patch')
-rw-r--r--rb244676.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/rb244676.patch b/rb244676.patch
deleted file mode 100644
index 8141e1d..0000000
--- a/rb244676.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/toolkit/system/gnome/nsGIOService.cpp b/toolkit/system/gnome/nsGIOService.cpp
---- a/toolkit/system/gnome/nsGIOService.cpp
-+++ b/toolkit/system/gnome/nsGIOService.cpp
-@@ -521,16 +521,22 @@ nsGIOService::GetAppForMimeType(const ns
- return NS_OK;
- }
-
- char *content_type =
- g_content_type_from_mime_type(PromiseFlatCString(aMimeType).get());
- if (!content_type)
- return NS_ERROR_FAILURE;
-
-+ // GIO returns "unknown" appinfo for the application/octet-stream, which is
-+ // useless. It's better to fallback to create appinfo from file extension later.
-+ if (g_content_type_is_unknown(content_type)) {
-+ return NS_ERROR_NOT_AVAILABLE;
-+ }
-+
- GAppInfo *app_info = g_app_info_get_default_for_type(content_type, false);
- if (app_info) {
- nsGIOMimeApp *mozApp = new nsGIOMimeApp(app_info);
- NS_ENSURE_TRUE(mozApp, NS_ERROR_OUT_OF_MEMORY);
- NS_ADDREF(*aApp = mozApp);
- } else {
- g_free(content_type);
- return NS_ERROR_FAILURE;
-
bgstack15