[latexila] main: call tepl_init() and tepl_finalize()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] main: call tepl_init() and tepl_finalize()
- Date: Sat, 29 Jul 2017 14:41:44 +0000 (UTC)
commit 7a99345864be16dce2539384e9020fdb3a17bc1d
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jul 29 16:39:16 2017 +0200
main: call tepl_init() and tepl_finalize()
configure.ac | 2 +-
src/main.vala | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d994ac5..0d20be0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ LT_INIT
GLIB_REQUIRED_VERSION="2.50"
GTK_REQUIRED_VERSION="3.22"
GTKSOURCEVIEW_REQUIRED_VERSION="3.24"
-TEPL_REQUIRED_VERSION="2.99.2"
+TEPL_REQUIRED_VERSION="2.99.3"
GSPELL_REQUIRED_VERSION="1.0"
VALA_REQUIRED_VERSION="0.34"
GEE_REQUIRED_VERSION="0.10"
diff --git a/src/main.vala b/src/main.vala
index d4fe340..ceeefb7 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -1,7 +1,7 @@
/*
* This file is part of LaTeXila.
*
- * Copyright © 2010-2015 Sébastien Wilmet
+ * Copyright © 2010-2015, 2017 Sébastien Wilmet
*
* LaTeXila is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,8 +31,12 @@ private void init_i18n ()
int main (string[] argv)
{
init_i18n ();
+ Tepl.init ();
LatexilaApp app = new LatexilaApp ();
+ int status = app.run (argv);
- return app.run (argv);
+ Tepl.finalize ();
+
+ return status;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]