[GRASS-SVN] r60092 - grass/trunk/display/d.legend

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 4 19:25:02 PDT 2014


Author: hamish
Date: 2014-05-04 19:25:02 -0700 (Sun, 04 May 2014)
New Revision: 60092

Modified:
   grass/trunk/display/d.legend/local_proto.h
   grass/trunk/display/d.legend/main.c
Log:
drop unused code

Modified: grass/trunk/display/d.legend/local_proto.h
===================================================================
--- grass/trunk/display/d.legend/local_proto.h	2014-05-05 02:17:22 UTC (rev 60091)
+++ grass/trunk/display/d.legend/local_proto.h	2014-05-05 02:25:02 UTC (rev 60092)
@@ -1,5 +0,0 @@
-/* main.c */
-char *G_chop(char *s);
-
-/* box.c */
-int get_legend_box(int *, int *, int *, int *);

Modified: grass/trunk/display/d.legend/main.c
===================================================================
--- grass/trunk/display/d.legend/main.c	2014-05-05 02:17:22 UTC (rev 60091)
+++ grass/trunk/display/d.legend/main.c	2014-05-05 02:25:02 UTC (rev 60092)
@@ -60,7 +60,7 @@
     struct Option *opt_input, *opt_color, *opt_lines, *opt_thin,
 		  *opt_labelnum, *opt_at, *opt_use, *opt_range,
 		  *opt_font, *opt_path, *opt_charset, *opt_fontsize;
-    struct Flag *hidestr, *hidenum, *hidenodata, *smooth, *flipit, *size;
+    struct Flag *hidestr, *hidenum, *hidenodata, *smooth, *flipit;
     struct Range range;
     struct FPRange fprange;
     CELL min_ind, max_ind, null_cell;
@@ -207,11 +207,6 @@
     flipit->description = _("Flip legend");
     flipit->guisection = _("Advanced");
 
-    size = G_define_flag();
-    size->key = 's';
-    size->description = _("Font size is height in pixels");
-    size->guisection = _("Font settings");
-
     /* Check command line */
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);



More information about the grass-commit mailing list