From c15efac8f95eb7228c63cf88f79157cd1053f1c1 Mon Sep 17 00:00:00 2001 From: prokoudine Date: Tue, 14 Nov 2006 23:17:49 +0000 Subject: [PATCH] removed obsolete -G option from main.cpp and therefore from '--help' output --- src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 6e184f4d7..60050c461 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -143,7 +143,6 @@ enum { SP_ARG_QUERY_HEIGHT, SP_ARG_QUERY_ID, SP_ARG_VERSION, - SP_ARG_NEW_GUI, SP_ARG_VACUUM_DEFS, SP_ARG_LAST }; @@ -356,11 +355,6 @@ struct poptOption options[] = { N_("Show given files one-by-one, switch to next on any key/mouse event"), NULL}, - {"new-gui", 'G', - POPT_ARG_NONE, &sp_new_gui, SP_ARG_NEW_GUI, - N_("Use the new Gtkmm GUI interface"), - NULL}, - {"vacuum-defs", 0, POPT_ARG_NONE, &sp_vacuum_defs, SP_ARG_VACUUM_DEFS, N_("Remove unused definitions from the defs section(s) of the document"), @@ -467,9 +461,6 @@ main(int argc, char **argv) } else if (!strcmp(argv[i], "-g") || !strcmp(argv[i], "--with-gui")) { use_gui = TRUE; break; - } else if (!strcmp(argv[i], "-G") || !strcmp(argv[i], "--new-gui")) { - sp_new_gui = TRUE; - break; } } -- 2.30.2