[GRASS-SVN] r38008 - grass/trunk/lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 21 06:42:23 EDT 2009


Author: martinl
Date: 2009-06-21 06:42:22 -0400 (Sun, 21 Jun 2009)
New Revision: 38008

Modified:
   grass/trunk/lib/raster/set_window.c
Log:
remove Rast_get_set_window(), use G_get_set_window()


Modified: grass/trunk/lib/raster/set_window.c
===================================================================
--- grass/trunk/lib/raster/set_window.c	2009-06-21 10:40:44 UTC (rev 38007)
+++ grass/trunk/lib/raster/set_window.c	2009-06-21 10:42:22 UTC (rev 38008)
@@ -18,21 +18,6 @@
 #include "G.h"
 
 /*!
- * \brief Get the current working window (region)
- *
- * The current working window values are returned in the structure
- * <i>window</i>.
- *
- * \param[in,out] window window structure to be set
- */
-void Rast_get_set_window(struct Cell_head *window)
-{
-    G__init_window();
-    G_copy(window, &G__.window, sizeof(*window));
-}
-
-
-/*!
  * \brief Establishes 'window' as the current working window.
  * 
  * Any opened cell files has its file-to-window mapping reworked.



More information about the grass-commit mailing list