[gegl] bin: Remove unused gegl option --delay



commit 0448fc96a10703f7f6e50f8e5c996df631fbdec3
Author: Martin Nordholts <martinn src gnome org>
Date:   Mon Jun 22 20:17:10 2009 +0200

    bin: Remove unused gegl option --delay

 bin/gegl-options.c |   16 +---------------
 bin/gegl-options.h |    1 -
 2 files changed, 1 insertions(+), 16 deletions(-)
---
diff --git a/bin/gegl-options.c b/bin/gegl-options.c
index a396067..93b617b 100644
--- a/bin/gegl-options.c
+++ b/bin/gegl-options.c
@@ -37,7 +37,6 @@ static GeglOptions *opts_new (void)
   o->output   = NULL;
   o->files    = NULL;
   o->file     = NULL;
-  o->delay    = 0.0;
   o->rest     = NULL;
   return o;
 }
@@ -72,12 +71,6 @@ usage (char *application_name)
 "     --verbose   print diagnostics while running\n"
 "      -v\n"
 "\n"
-#if 0
-"     --delay     wait for specified number of seconds before exit\n"
-"                 or number of seconds to wait before iterating the image list\n"
-"     -d\n"
-"\n"
-#endif
 "All parameters following -- are considered ops to be chained together\n"
 "into a small composition instead of using an xml file, this allows for\n"
 "easy testing of filters. Be aware that the default value will be used\n"
@@ -131,14 +124,12 @@ print_opts (GeglOptions *o)
 "\txml:    %s\n"
 "\toutput: %s\n"
 "\trest:   %s\n"
-"\tdelay:  %f\n"
 "\t\n",
     o->mode,
     o->file==NULL?"(null)":o->file,
     o->xml==NULL?"(null)":o->xml,
     o->output==NULL?"(null)":o->output,
-    o->rest==NULL?"":"yes",
-    o->delay
+    o->rest==NULL?"":"yes"
 );
     {
       GList *files = o->files;
@@ -214,11 +205,6 @@ parse_args (int    argc,
             usage (argv[0]);
         }
 
-        else if (match ("--delay") ||
-                 match ("-d")) {
-            get_float (o->delay);
-        }
-
         else if (match ("--verbose") ||
                  match ("-v")) {
             o->verbose=1;
diff --git a/bin/gegl-options.h b/bin/gegl-options.h
index fdcd9fd..91c9267 100644
--- a/bin/gegl-options.h
+++ b/bin/gegl-options.h
@@ -48,7 +48,6 @@ struct _GeglOptions
   gboolean     verbose;
   gboolean     fatal_warnings;
 
-  gfloat       delay;
   gboolean     play;
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]