Imported Upstream version 0.72.3
This commit is contained in:
6
spiral.c
6
spiral.c
@@ -1,5 +1,5 @@
|
||||
/* dvdisaster: Additional error correction for optical media.
|
||||
* Copyright (C) 2004-2010 Carsten Gnoerlich.
|
||||
* Copyright (C) 2004-2011 Carsten Gnoerlich.
|
||||
* Project home page: http://www.dvdisaster.com
|
||||
* Email: carsten@dvdisaster.com -or- cgnoerlich@fsfe.org
|
||||
*
|
||||
@@ -143,10 +143,8 @@ void DrawSpiralSegment(Spiral *spiral, GdkColor *color, int segment)
|
||||
{ double a;
|
||||
double scale_i,scale_o,ring_expand;
|
||||
GdkPoint points[4];
|
||||
#if 0
|
||||
#ifdef SYS_DARWIN
|
||||
GdkRegion *region;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if(segment<0 || segment>=spiral->segmentClipping)
|
||||
@@ -180,7 +178,6 @@ void DrawSpiralSegment(Spiral *spiral, GdkColor *color, int segment)
|
||||
gdk_gc_set_rgb_fg_color(Closure->drawGC, spiral->outline);
|
||||
gdk_draw_polygon(spiral->drawable, Closure->drawGC, FALSE, points, 4);
|
||||
|
||||
#if 0
|
||||
/* Work around GUI lock up on Mac OS X port of GTK+
|
||||
FIXME: Remove when GTK+ behaviour improves. */
|
||||
|
||||
@@ -188,7 +185,6 @@ void DrawSpiralSegment(Spiral *spiral, GdkColor *color, int segment)
|
||||
region = gdk_region_polygon(points, 4, GDK_EVEN_ODD_RULE);
|
||||
gdk_window_invalidate_region(GDK_WINDOW(spiral->drawable), region, FALSE);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user