Compare commits
1 Commits
2d389342fd
...
v1.2-1
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f89844639 |
@@ -187,7 +187,8 @@ static gboolean cell_store_filter_visible_func(GtkTreeModel *model, GtkTreeIter
|
|||||||
|
|
||||||
gtk_tree_model_get(model, iter, CELL_SEL_CELL, &cell, CELL_SEL_LIBRARY, &lib, -1);
|
gtk_tree_model_get(model, iter, CELL_SEL_CELL, &cell, CELL_SEL_LIBRARY, &lib, -1);
|
||||||
|
|
||||||
if (lib) {
|
/* Show always, if this is a pure lib entry */
|
||||||
|
if (lib && !cell) {
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
goto exit_filter;
|
goto exit_filter;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,20 +275,12 @@ static int cairo_renderer_render_cell_to_vector_file(GdsOutputRenderer *renderer
|
|||||||
goto ret_parent;
|
goto ret_parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We are now in a separate process just for rendering the output image.
|
/* Close stdin and (stdout and stderr may live on) */
|
||||||
* You may print a log message to the activity bar of the gui by writing a line
|
|
||||||
* teminated with '\n' to comm_pipe[1]. This will be handled by the parent process.
|
|
||||||
* Directly calling the update function
|
|
||||||
* gds_output_renderer_update_async_progress()
|
|
||||||
* does not have any effect because this is a separate process.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Close stdin and (stdout and stderr may live on)
|
|
||||||
*/
|
|
||||||
close(0);
|
close(0);
|
||||||
|
//close(1);
|
||||||
close(comm_pipe[0]);
|
close(comm_pipe[0]);
|
||||||
|
|
||||||
|
|
||||||
layers = (struct cairo_layer *)calloc(MAX_LAYERS, sizeof(struct cairo_layer));
|
layers = (struct cairo_layer *)calloc(MAX_LAYERS, sizeof(struct cairo_layer));
|
||||||
|
|
||||||
/* Clear layers */
|
/* Clear layers */
|
||||||
|
|||||||
Reference in New Issue
Block a user