aboutsummaryrefslogtreecommitdiff
path: root/deb_patches/silence-gtk-style-assertions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'deb_patches/silence-gtk-style-assertions.patch')
-rw-r--r--deb_patches/silence-gtk-style-assertions.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/deb_patches/silence-gtk-style-assertions.patch b/deb_patches/silence-gtk-style-assertions.patch
index 36ec8e3..b63a658 100644
--- a/deb_patches/silence-gtk-style-assertions.patch
+++ b/deb_patches/silence-gtk-style-assertions.patch
@@ -14,7 +14,7 @@ Author: Olivier Tilloy <olivier.tilloy@canonical.com>
// 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;
bgstack15