[librsvg/librsvg-2.44] rsvg-dimensions.c: Fix the GOptionEntry for G_OPTION_REMAINING



commit c3f0b48e12d69d5de5b48459108316f0bd46a13a
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Sep 25 16:39:57 2018 -0500

    rsvg-dimensions.c: Fix the GOptionEntry for G_OPTION_REMAINING
    
    It had a G_OPTION_FLAG_FILENAME where it is not needed.

 tools/rsvg-dimensions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/rsvg-dimensions.c b/tools/rsvg-dimensions.c
index 8b7d8325..5869c474 100644
--- a/tools/rsvg-dimensions.c
+++ b/tools/rsvg-dimensions.c
@@ -36,7 +36,7 @@ main (int       argc,
 
     GOptionEntry options[] = {
         { "fragment", 'f', 0, G_OPTION_ARG_STRING, &fragment, "The SVG fragment to address.", "<string>" },
-        { G_OPTION_REMAINING, 0, G_OPTION_FLAG_FILENAME, G_OPTION_ARG_FILENAME_ARRAY, &filenames, NULL, 
"[FILE...]" },
+        { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames, NULL, "[FILE...]" },
         { NULL }
     };
 


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