aboutsummaryrefslogtreecommitdiff
path: root/main/src/main.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-04-03 14:10:17 +0200
committerMarvin W <git@larma.de>2017-04-03 15:05:39 +0200
commit8248cfcbb25dc14c81bd9673c8b3642ce98ea495 (patch)
tree21ec03ad902b001c3e84c428a31e10f62ad18614 /main/src/main.vala
parent22adbd38dca0868f0e10754314a3859bba0a7d87 (diff)
downloaddino-8248cfcbb25dc14c81bd9673c8b3642ce98ea495.tar.gz
dino-8248cfcbb25dc14c81bd9673c8b3642ce98ea495.zip
Make FHS compliant, split RPMs, fix compilation on older GCCs
Diffstat (limited to 'main/src/main.vala')
-rw-r--r--main/src/main.vala6
1 files changed, 3 insertions, 3 deletions
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;
}