diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-11-21 13:22:34 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-11-21 13:22:34 +0100 |
commit | aa51ea96c794d1b3d1c43ab753a3dce5000d3ef1 (patch) | |
tree | ebc6f3f91f9d818e74a15d771e4833dcb19f7ca7 /deb_patches/silence-gtk-style-assertions.patch | |
parent | v82.0.3-1 (diff) | |
download | librewolf-linux-aa51ea96c794d1b3d1c43ab753a3dce5000d3ef1.tar.gz librewolf-linux-aa51ea96c794d1b3d1c43ab753a3dce5000d3ef1.tar.bz2 librewolf-linux-aa51ea96c794d1b3d1c43ab753a3dce5000d3ef1.zip |
v83.0-1
Diffstat (limited to 'deb_patches/silence-gtk-style-assertions.patch')
-rw-r--r-- | deb_patches/silence-gtk-style-assertions.patch | 10 |
1 files changed, 9 insertions, 1 deletions
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 <olivier.tilloy@canonical.com> --- 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 <olivier.tilloy@canonical.com> 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 |