[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_print.c
User: pcjc2
Date: 07/04/20 20:07:58
Modified: . x_print.c
Log:
Fix color printing of selected object to use the correct,
non-selected color for the output. This required replacing
code which manually cleared the selection GList with a call to
o_selection_unselect_list(), which takes care of the color change.
Revision Changes Path
1.31 +2 -3 eda/geda/gaf/gschem/src/x_print.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_print.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_print.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- x_print.c 10 Feb 2007 21:25:31 -0000 1.30
+++ x_print.c 21 Apr 2007 00:07:57 -0000 1.31
@@ -742,9 +742,8 @@
&w_current->paper_height);
/* de select everything first */
- o_select_run_hooks (w_current, NULL, 2);
- g_list_free(w_current->page_current->selection_list);
- w_current->page_current->selection_list = NULL;
+ o_selection_unselect_list( w_current,
+ &w_current->page_current->selection_list );
if (usefile && filename[0])
/* Print to file */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs