---
libgeda/include/prototype.h | 1 -
libgeda/src/s_hierarchy.c | 65 -------------------------------------------
2 files changed, 0 insertions(+), 66 deletions(-)
diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index 3dc1ee3..7e849c2 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -402,7 +402,6 @@ void s_cue_output_single(TOPLEVEL *toplevel, OBJECT
*object, FILE *fp, int type)
/* s_hierarchy.c */
int s_hierarchy_down_schematic_single(TOPLEVEL *toplevel, const gchar
*filename, PAGE *parent, int page_control, int flag);
-void s_hierarchy_down_schematic_multiple (TOPLEVEL *toplevel, const gchar
*filename, PAGE *parent);
void s_hierarchy_down_symbol (TOPLEVEL *toplevel, const CLibSymbol *symbol,
PAGE *parent);
void s_hierarchy_up(TOPLEVEL *toplevel, int pid);
GList* s_hierarchy_traversepages(TOPLEVEL *toplevel, gint flags);
diff --git a/libgeda/src/s_hierarchy.c b/libgeda/src/s_hierarchy.c
index 214422c..2d52df6 100644
--- a/libgeda/src/s_hierarchy.c
+++ b/libgeda/src/s_hierarchy.c
@@ -136,71 +136,6 @@ int s_hierarchy_down_schematic_single(TOPLEVEL *toplevel,
* \brief
* \par Function Description
*
- * \note
- * This function goes and finds the associated source files and loads ALL up
- * only works for schematic files though
- * this is basically push
- */
-void s_hierarchy_down_schematic_multiple (TOPLEVEL *toplevel,
- const gchar *filename, PAGE *parent)
-{
- char *string=NULL;
- PAGE *save_first_page=NULL;
- PAGE *found;
- int loaded_schematics=0;
-
- s_slib_search (NULL, SLIB_SEARCH_START);
-
- string = s_slib_search (filename, SLIB_SEARCH_NEXT);
- while (string != NULL) {
-
- found = s_page_new(toplevel, string);
-
- if (found) {
- toplevel->page_current = found;
- s_page_goto(toplevel, found);
- g_free(string);
- return;
- }
-
- f_open(toplevel, toplevel->page_current->page_filename, NULL);
-
- if (loaded_schematics == 0) {
- page_control_counter++;
- save_first_page = toplevel->page_current;
- /* parent->down = toplevel->page_current; not needed */
- toplevel->page_current->page_control =
- page_control_counter;
- loaded_schematics=1;
- } else {
- toplevel->page_current->page_control =
- page_control_counter;
- }
-
- toplevel->page_current->up = parent->pid;
- /* toplevel->page_current->down = NULL; not needed */
-
- g_free(string);
-
- string = s_slib_search(filename, SLIB_SEARCH_NEXT);
- }
-
- s_slib_search(NULL, SLIB_SEARCH_DONE);
-
- g_free (string);
-
- if (loaded_schematics) {
- toplevel->page_current = save_first_page;
- }
-
- s_page_goto (toplevel, toplevel->page_current);
-
-}
-
-/*! \todo Finish function documentation!!!
- * \brief
- * \par Function Description
- *
*/
void s_hierarchy_down_symbol (TOPLEVEL *toplevel,
const CLibSymbol *symbol, PAGE *parent)
--
1.5.6
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev