diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-01 13:56:22 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-01 13:56:22 +0100 |
commit | 0b0964887c815e9731e54d0d7c63fc99c4c5871d (patch) | |
tree | 8ba6a606d9630bc42f94cd8848e5a2adf1987fcf | |
parent | test building tarball with some very preliminary patches (diff) | |
download | librewolf-linux-0b0964887c815e9731e54d0d7c63fc99c4c5871d.tar.gz librewolf-linux-0b0964887c815e9731e54d0d7c63fc99c4c5871d.tar.bz2 librewolf-linux-0b0964887c815e9731e54d0d7c63fc99c4c5871d.zip |
fix a badly merged patch
-rw-r--r-- | deb_patches/silence-gtk-style-assertions.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/deb_patches/silence-gtk-style-assertions.patch b/deb_patches/silence-gtk-style-assertions.patch index 71cf2aa..b63a658 100644 --- a/deb_patches/silence-gtk-style-assertions.patch +++ b/deb_patches/silence-gtk-style-assertions.patch @@ -13,21 +13,6 @@ 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. -@@ -13,6 +13,14 @@ - 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 -+ GTK_STATE_FLAG_BACKDROP, GTK_STATE_FLAG_INSENSITIVE}; -+ -+ 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 @@ -1413,6 +1413,7 @@ bool nsLookAndFeel::WidgetUsesImage(Widg }; |