summaryrefslogtreecommitdiff
path: root/gdk/gdkregion-generic.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-08-08 21:39:19 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-08-08 21:39:19 +0000
commit699e1c74ef430ec9d5e188388c64264d5a49005b (patch)
treefff20dd8b3961a05fa244de858e51c865d17c748 /gdk/gdkregion-generic.c
parentad24b9cad6f2bd1aa7314aa9693eeaf514acb85e (diff)
downloadgtk+-699e1c74ef430ec9d5e188388c64264d5a49005b.tar.gz
Fix a segfault. (#115284, Jan Kratochvil)
2003-08-08 Matthias Clasen <maclas@gmx.de> * gdk/gdkregion-generic.c (gdk_region_spans_intersect_foreach): Fix a segfault. (#115284, Jan Kratochvil)
Diffstat (limited to 'gdk/gdkregion-generic.c')
-rw-r--r--gdk/gdkregion-generic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkregion-generic.c b/gdk/gdkregion-generic.c
index 7db4591377..14bca401de 100644
--- a/gdk/gdkregion-generic.c
+++ b/gdk/gdkregion-generic.c
@@ -1715,10 +1715,6 @@ gdk_region_spans_intersect_foreach (GdkRegion *region,
if ((!region->numRects) || (n_spans == 0))
return;
- y = span->y;
- left = span->x;
- right = span->x + span->width; /* right is not in the span! */
-
/* The main method here is to step along the
* sorted rectangles and spans in lock step, and
* clipping the spans that are in the current