gegl r2031 - in trunk: . bin



Author: martinn
Date: Sun Feb 17 11:06:57 2008
New Revision: 2031
URL: http://svn.gnome.org/viewvc/gegl?rev=2031&view=rev

Log:
2008-02-17  Martin Nordholts  <martinn svn gnome org>

	* bin/gegl-options.c (parse_args): Applied patch from Fredrik
	AlstrÃmer that makes the --file and -i options to the gegl binary
	work.


Modified:
   trunk/ChangeLog
   trunk/bin/gegl-options.c

Modified: trunk/bin/gegl-options.c
==============================================================================
--- trunk/bin/gegl-options.c	(original)
+++ trunk/bin/gegl-options.c	Sun Feb 17 11:06:57 2008
@@ -227,7 +227,9 @@
 
         else if (match ("--file") ||
                  match ("-i")) {
-            o->files = g_list_append (o->files, g_strdup (*curr));
+            const gchar *file_path;
+            get_string (file_path);
+            o->files = g_list_append (o->files, g_strdup (file_path));
         }
 
         else if (match ("--xml") ||



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