[libgda] GdaBrowser: added GTK+ options to command



commit 984b4ff9ce2eb65d1308063cdc069649d0cefe8c
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 7a4bdf0..c82706e 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]