use cleaned up version of a patch

master v85.0-1_paks
ohfp 2021-02-02 17:20:26 +01:00
parent 5d88f397b1
commit 4f3ea8ae1b
No known key found for this signature in database
GPG Key ID: 2954CC8585E27A3F
1 changed files with 1 additions and 1 deletions

View File

@ -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;