From aa51ea96c794d1b3d1c43ab753a3dce5000d3ef1 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Sat, 21 Nov 2020 13:22:34 +0100 Subject: v83.0-1 --- deb_patches/silence-gtk-style-assertions.patch | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'deb_patches/silence-gtk-style-assertions.patch') diff --git a/deb_patches/silence-gtk-style-assertions.patch b/deb_patches/silence-gtk-style-assertions.patch index bfad1cc..b63a658 100644 --- a/deb_patches/silence-gtk-style-assertions.patch +++ b/deb_patches/silence-gtk-style-assertions.patch @@ -4,7 +4,7 @@ Author: Olivier Tilloy --- a/widget/gtk/nsLookAndFeel.cpp +++ b/widget/gtk/nsLookAndFeel.cpp -@@ -1142,7 +1142,7 @@ void nsLookAndFeel::EnsureInit() { +@@ -1216,7 +1216,7 @@ void nsLookAndFeel::EnsureInit() { &color); mTextSelectedText = GDK_RGBA_TO_NS_RGBA(color); }; @@ -13,6 +13,14 @@ Author: Olivier Tilloy if (mTextSelectedBackground == mTextSelectedText) { // Some old distros/themes don't properly use the .selection style, so // fall back to the regular text view style. +@@ -1413,6 +1413,7 @@ bool nsLookAndFeel::WidgetUsesImage(Widg + }; + + GtkStyleContext* style = GetStyleContext(aNodeType); ++ if (!style) return false; + + GValue value = G_VALUE_INIT; + for (GtkStateFlags state : sFlagsToCheck) { --- a/widget/gtk/WidgetStyleCache.cpp +++ b/widget/gtk/WidgetStyleCache.cpp @@ -933,7 +933,7 @@ static GtkStyleContext* GetWidgetRootSty -- cgit