/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-03 20:51:10 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20250603205110-zfozhyqh8werenbv
* Inital release

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 along with LoggerOuter. If not, see <https://www.gnu.org/licenses/>.
16
16
 */
17
17
 
18
 
public const string APP_NAME  = "eu.bato24.gegoxaren.loggerouter";
 
18
public const string APP_NAME  = "eu.bato24.gegoxaren.loggeroutr";
19
19
public const int APP_VERSION_MAJOR = 0;
20
20
public const int APP_VERSION_MINOR = 0;
21
21
public static string get_app_version () {
27
27
public static string? LO_XDG_CONFIG_PATH;
28
28
 
29
29
 
30
 
public static LO.Application app;
 
30
public static LO.App 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.Application ();
45
 
  Gtk.init ();
 
44
  app = new  LO.App ();
 
45
 
46
46
  return app.run (args);
47
47
}
48
48