From 66f6a7bd3f7e00022191f16cb0e82a39e7333a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 2 Jan 2017 11:24:12 +0100 Subject: New upstream version 0.25.2 --- src/util/image.vala | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/util/image.vala') diff --git a/src/util/image.vala b/src/util/image.vala index db872df..4adafae 100644 --- a/src/util/image.vala +++ b/src/util/image.vala @@ -250,14 +250,6 @@ public void shift_colors(Gdk.Pixbuf pixbuf, int red, int green, int blue, int al } } -public void dim_pixbuf(Gdk.Pixbuf pixbuf) { - PixelTransformer transformer = new PixelTransformer(); - SaturationTransformation sat = new SaturationTransformation(SaturationTransformation.MIN_PARAMETER); - transformer.attach_transformation(sat); - transformer.transform_pixbuf(pixbuf); - shift_colors(pixbuf, 0, 0, 0, -100); -} - bool coord_in_rectangle(int x, int y, Gdk.Rectangle rect) { return (x >= rect.x && x < (rect.x + rect.width) && y >= rect.y && y <= (rect.y + rect.height)); } -- cgit v1.2.3