---
 libgeda/include/prototype.h |    1 -
 libgeda/src/s_tile.c        |   19 -------------------
 2 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index 1f6743e..f9717b5 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -479,7 +479,6 @@ void s_stretch_destroy_all(STRETCH *head);
 void s_tile_init(TOPLEVEL *toplevel, PAGE *p_current);
 TILE_LOC *s_tile_new_loc(int i, int j);
 void s_tile_add_object(TOPLEVEL *toplevel, OBJECT *object, int world_x1, int 
world_y1, int world_x2, int world_y2);
-void s_tile_remove_object_all_crude(TOPLEVEL *toplevel, OBJECT *object);
 void s_tile_remove_object_all(TOPLEVEL *toplevel, PAGE *p_current, OBJECT 
*object);
 void s_tile_update_object(TOPLEVEL *toplevel, OBJECT *object);
 GList *s_tile_get_objectlists(TOPLEVEL *toplevel, int world_x1, int world_y1, 
int world_x2, int world_y2);
diff --git a/libgeda/src/s_tile.c b/libgeda/src/s_tile.c
index 8ed1ff3..09ad19d 100644
--- a/libgeda/src/s_tile.c
+++ b/libgeda/src/s_tile.c
@@ -312,25 +312,6 @@ void s_tile_add_object(TOPLEVEL * toplevel, OBJECT * 
object, int world_x1,
  *  \brief
  *  \par Function Description
  *
- */
-void s_tile_remove_object_all_crude(TOPLEVEL * toplevel, OBJECT * object)
-{
-  TILE *t_current;
-
-  int i, j;
-
-  for (j = 0; j < MAX_TILES_Y; j++) {
-    for (i = 0; i < MAX_TILES_X; i++) {
-      t_current = &toplevel->page_current->world_tiles[i][j];
-      t_current->objects = g_list_remove(t_current->objects, object);
-    }
-  }
-}
-
-/*! \todo Finish function documentation!!!
- *  \brief
- *  \par Function Description
- *
  *  \bug
  *  this is still wrong, p_current needs to be the page the object is on 
  *  doesn't work if the current page isn't where the object lives
-- 
1.5.6




_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to