diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-03 21:56:24 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-03 21:57:21 +0100 |
commit | 52b1cd40d1f2b7e9c3227dc48f202b95320c9074 (patch) | |
tree | fa29cf0dfa9ad1faf9e1ca5fdc9b6470f5eb5d58 /gsk/gskrendernode.c | |
parent | 794a2bfd0087614b1a6b07c314cde7bbefba77f3 (diff) | |
download | gtk+-52b1cd40d1f2b7e9c3227dc48f202b95320c9074.tar.gz |
gsk: Remove gsk_render_node_set_scaling_filters()
This is a leftover from the very early rendernode that we forgot to delete.
This can be seen by the fact that it is settable on an immutable object.
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 |