diff options
Diffstat (limited to 'gsk/gskrendernode.c')
-rw-r--r-- | gsk/gskrendernode.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c index 9cccce763b..0dc0e7628c 100644 --- a/gsk/gskrendernode.c +++ b/gsk/gskrendernode.c @@ -93,9 +93,6 @@ gsk_render_node_new (const GskRenderNodeClass *node_class, gsize extra_size) self->ref_count = 1; - self->min_filter = GSK_SCALING_FILTER_NEAREST; - self->mag_filter = GSK_SCALING_FILTER_NEAREST; - return self; } @@ -178,30 +175,6 @@ gsk_render_node_get_bounds (GskRenderNode *node, } /** - * gsk_render_node_set_scaling_filters: - * @node: a #GskRenderNode - * @min_filter: the filter for scaling down - * @mag_filter: the filter for scaling up - * - * Sets filters to be used when a node must be scaled up - * or down. - * - * Since: 3.90 - */ -void -gsk_render_node_set_scaling_filters (GskRenderNode *node, - GskScalingFilter min_filter, - GskScalingFilter mag_filter) -{ - g_return_if_fail (GSK_IS_RENDER_NODE (node)); - - if (node->min_filter != min_filter) - node->min_filter = min_filter; - if (node->mag_filter != mag_filter) - node->mag_filter = mag_filter; -} - -/** * gsk_render_node_set_name: * @node: a #GskRenderNode * @name: (nullable): a name for the node |