Compare commits
1 Commits
v1.2-2
...
2d389342fd
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d389342fd |
@@ -187,8 +187,7 @@ 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);
|
||||||
|
|
||||||
/* Show always, if this is a pure lib entry */
|
if (lib) {
|
||||||
if (lib && !cell) {
|
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
goto exit_filter;
|
goto exit_filter;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,11 +275,19 @@ static int cairo_renderer_render_cell_to_vector_file(GdsOutputRenderer *renderer
|
|||||||
goto ret_parent;
|
goto ret_parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Close stdin and (stdout and stderr may live on) */
|
/* We are now in a separate process just for rendering the output image.
|
||||||
close(0);
|
* You may print a log message to the activity bar of the gui by writing a line
|
||||||
//close(1);
|
* teminated with '\n' to comm_pipe[1]. This will be handled by the parent process.
|
||||||
close(comm_pipe[0]);
|
* 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(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));
|
||||||
|
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ static int latex_renderer_render_output(GdsOutputRenderer *renderer,
|
|||||||
l_renderer->pdf_layers, l_renderer->tex_standalone, renderer);
|
l_renderer->pdf_layers, l_renderer->tex_standalone, renderer);
|
||||||
fclose(tex_file);
|
fclose(tex_file);
|
||||||
} else {
|
} else {
|
||||||
g_warning(_("Could not open LaTeX output file"));
|
g_error(_("Could not open LaTeX output file"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings)
|
if (settings)
|
||||||
|
|||||||
Reference in New Issue
Block a user