[evolution] Bug 660799 - Bad GOptionEntry in evolution-addressbook-export



commit d5658725bf1c8cf7a705ca15e4fdd9b28939dd7e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Oct 3 18:25:01 2011 -0400

    Bug 660799 - Bad GOptionEntry in evolution-addressbook-export
    
    G_OPTION_FLAG_FILENAME is only for G_OPTION_ARG_CALLBACK options.

 addressbook/tools/evolution-addressbook-export.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c
index 5460c5a..33d840e 100644
--- a/addressbook/tools/evolution-addressbook-export.c
+++ b/addressbook/tools/evolution-addressbook-export.c
@@ -55,7 +55,7 @@ static gint opt_file_size = 0;
 static gchar **opt_remaining = NULL;
 
 static GOptionEntry entries[] = {
-	{ "output", '\0', G_OPTION_FLAG_FILENAME,
+	{ "output", '\0', 0,
 	  G_OPTION_ARG_STRING, &opt_output_file,
 	  N_("Specify the output file instead of standard output"),
 	  N_("OUTPUTFILE") },



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