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



commit 7239005355cf0dd800cf196863520d599d47cedb
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]