[gs-cvs] rev 8377 - trunk/gs/src
ghostgum at ghostscript.com
ghostgum at ghostscript.com
Sun Nov 18 01:30:56 PST 2007
Author: ghostgum
Date: 2007-11-18 01:30:55 -0800 (Sun, 18 Nov 2007)
New Revision: 8377
Modified:
trunk/gs/src/dxmain.c
Log:
Remove incorrect and unnecessary gtk+ separation code. Fixes bug 689541.
Modified: trunk/gs/src/dxmain.c
===================================================================
--- trunk/gs/src/dxmain.c 2007-11-18 06:07:20 UTC (rev 8376)
+++ trunk/gs/src/dxmain.c 2007-11-18 09:30:55 UTC (rev 8377)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2006 Artifex Software, Inc.
+/* Copyright (C) 2001-2007 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -691,7 +691,6 @@
(color == DISPLAY_COLORS_SEPARATION)) {
/* check if separations have changed */
int i;
- int num_visible = 0;
gchar *str;
for (i=0; i<IMAGE_DEVICEN_MAX; i++) {
gtk_label_get(
@@ -705,13 +704,7 @@
img->devicen[i].name);
gtk_widget_show(img->separation[i]);
}
- if (img->devicen[i].used && img->devicen[i].visible)
- num_visible++;
}
- if (num_visible <= 1)
- gtk_widget_show(img->separation[i]);
- else
- gtk_widget_hide(img->separation[i]);
}
/* some formats need to be converted for use by GdkRgb */
More information about the gs-cvs
mailing list