/loggerouter/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerouter/trunk

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: Gustav Hartvigsson
  • Date: 2025-06-04 14:25:01 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20250604142501-uhe0ukoxuwcku2bt
Fixed crash caused from missing config file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
public static string? LO_XDG_CONFIG_PATH;
28
28
 
29
29
 
30
 
public static LO.App app;
 
30
public static LO.Application app;
31
31
 
32
32
LO.Options opts;
33
33
LO.Settings settings;
41
41
  opts = LO.Options.get_instance (); // Prevents segfault
42
42
  settings = LO.Settings.get_instance ();
43
43
  opts.exec_name = args[0];
44
 
  app = new  LO.App ();
45
 
 
 
44
  app = new  LO.Application ();
 
45
  Gtk.init ();
46
46
  return app.run (args);
47
47
}
48
48