widget: Remove useless if statement

filter_value is never NULL anyway.
This commit is contained in:
Timm Bäder 2020-07-12 13:57:20 +02:00
parent 720c298786
commit f678b3804d

View File

@ -11374,8 +11374,7 @@ gtk_widget_create_render_node (GtkWidget *widget,
G_OBJECT_TYPE_NAME (widget), widget); G_OBJECT_TYPE_NAME (widget), widget);
filter_value = gtk_css_node_get_style (priv->cssnode)->other->filter; filter_value = gtk_css_node_get_style (priv->cssnode)->other->filter;
if (filter_value) gtk_css_filter_value_push_snapshot (filter_value, snapshot);
gtk_css_filter_value_push_snapshot (filter_value, snapshot);
if (opacity < 1.0) if (opacity < 1.0)
gtk_snapshot_push_opacity (snapshot, opacity); gtk_snapshot_push_opacity (snapshot, opacity);