From 8248cfcbb25dc14c81bd9673c8b3642ce98ea495 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 3 Apr 2017 14:10:17 +0200 Subject: Make FHS compliant, split RPMs, fix compilation on older GCCs --- main/src/main.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/src/main.vala') diff --git a/main/src/main.vala b/main/src/main.vala index 96744e12..14029e47 100644 --- a/main/src/main.vala +++ b/main/src/main.vala @@ -16,10 +16,10 @@ void main(string[] args) { Gtk.init(ref args); Dino.Ui.Application app = new Dino.Ui.Application(); - app.add_main_option("show-plugin-paths", 0, 0, OptionArg.NONE, "Display plugin search paths and exit", null); + app.add_main_option("plugin-paths", 0, 0, OptionArg.NONE, "Display plugin search paths and exit", null); app.handle_local_options.connect((options) => { - Variant v = options.lookup_value("show-plugin-paths", VariantType.BOOLEAN); - if (v != null && v.get_type() == VariantType.BOOLEAN && v.get_boolean()) { + Variant v = options.lookup_value("plugin-paths", VariantType.BOOLEAN); + if (v != null && v.get_boolean()) { loader.print_search_paths(); return 0; } -- cgit v1.2.3-54-g00ecf