forked from AuroraMiddleware/gtk
widget: Remove useless if statement
filter_value is never NULL anyway.
This commit is contained in:
parent
720c298786
commit
f678b3804d
@ -11374,8 +11374,7 @@ gtk_widget_create_render_node (GtkWidget *widget,
|
||||
G_OBJECT_TYPE_NAME (widget), widget);
|
||||
|
||||
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)
|
||||
gtk_snapshot_push_opacity (snapshot, opacity);
|
||||
|
Loading…
Reference in New Issue
Block a user