diff options
author | monsta <[email protected]> | 2015-09-01 11:12:14 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-01 11:12:14 +0300 |
commit | a93e9c7e31963dd954f0952375cf31c80d5bd252 (patch) | |
tree | 381c5e56f3d4195675710cce9446ac9d394f450b /mate-dictionary/src | |
parent | 464e0832f0aafc4af7811dcd3000f4285821ef9c (diff) | |
download | mate-utils-a93e9c7e31963dd954f0952375cf31c80d5bd252.tar.bz2 mate-utils-a93e9c7e31963dd954f0952375cf31c80d5bd252.tar.xz |
dictionary: drop command-line options that did nothing at all
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r-- | mate-dictionary/src/gdict-app.c | 9 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-app.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/mate-dictionary/src/gdict-app.c b/mate-dictionary/src/gdict-app.c index c0673709..cd751baa 100644 --- a/mate-dictionary/src/gdict-app.c +++ b/mate-dictionary/src/gdict-app.c @@ -324,10 +324,8 @@ gdict_init (int *argc, char ***argv) gchar **lookup_words = NULL; gchar **match_words = NULL; gchar *database = NULL; - gchar *strategy = NULL; gchar *source_name = NULL; gboolean no_window = FALSE; - gboolean list_sources = FALSE; const GOptionEntry gdict_app_goptions[] = { @@ -337,14 +335,10 @@ gdict_init (int *argc, char ***argv) N_("Words to match"), N_("word") }, { "source", 's', 0, G_OPTION_ARG_STRING, &source_name, N_("Dictionary source to use"), N_("source") }, - { "list-sources", 'l', 0, G_OPTION_ARG_NONE, &list_sources, - N_("Show available dictionary sources"), NULL }, { "no-window", 'n', 0, G_OPTION_ARG_NONE, &no_window, N_("Print result to the console"), NULL }, { "database", 'D', 0, G_OPTION_ARG_STRING, &database, N_("Database to use"), N_("db") }, - { "strategy", 'S', 0, G_OPTION_ARG_STRING, &strategy, - N_("Strategy to use"), N_("strat") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &lookup_words, N_("Words to look up"), N_("word") }, { NULL }, @@ -420,9 +414,6 @@ gdict_init (int *argc, char ***argv) if (no_window) singleton->no_window = TRUE; - - if (list_sources) - singleton->list_sources = TRUE; } void diff --git a/mate-dictionary/src/gdict-app.h b/mate-dictionary/src/gdict-app.h index 2307c9f7..f91bc908 100644 --- a/mate-dictionary/src/gdict-app.h +++ b/mate-dictionary/src/gdict-app.h @@ -52,7 +52,6 @@ struct _GdictApp gchar *database; gchar *source_name; gboolean no_window; - gboolean list_sources; GdictSourceLoader *loader; |