use cleaned up version of a patch

This commit is contained in:
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

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 // Some old distros/themes don't properly use the .selection style, so
// fall back to the regular text view style. // fall back to the regular text view style.
@@ -1413,6 +1413,7 @@ bool nsLookAndFeel::WidgetUsesImage(Widg @@ -1413,6 +1413,7 @@ bool nsLookAndFeel::WidgetUsesImage(Widg
}; GTK_STATE_FLAG_BACKDROP, GTK_STATE_FLAG_INSENSITIVE};
GtkStyleContext* style = GetStyleContext(aNodeType); GtkStyleContext* style = GetStyleContext(aNodeType);
+ if (!style) return false; + if (!style) return false;