[libgda/LIBGDA_4.2] GdaBrowser: added GTK+ options to command



commit 49b25a0ca5d55e799bea47788a69f711bc575cf4
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon May 16 21:17:32 2011 +0200

    GdaBrowser: added GTK+ options to command

 tools/browser/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/browser/main.c b/tools/browser/main.c
index 9e2ede8..ccc78a5 100644
--- a/tools/browser/main.c
+++ b/tools/browser/main.c
@@ -100,6 +100,7 @@ main (int argc, char *argv[])
 
 	context = g_option_context_new (_("[DSN|connection string]..."));
         g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
+	g_option_context_add_group (context, gtk_get_option_group (TRUE));
         g_option_context_set_ignore_unknown_options (context, TRUE);
         if (!g_option_context_parse (context, &argc, &argv, &error)) {
                 g_fprintf  (stderr, "Can't parse arguments: %s\n", error->message);



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