[latexila] Use gtef-2
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Use gtef-2
- Date: Fri, 18 Nov 2016 12:28:32 +0000 (UTC)
commit 7cc08a16f1dbffcf28ff3f1facacd626732acfd3
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Nov 18 13:26:07 2016 +0100
Use gtef-2
configure.ac | 8 ++++----
src/Makefile.am | 2 +-
src/main_window.vala | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f75440f..d5c0566 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ LT_INIT
GLIB_REQUIRED_VERSION="2.50"
GTK_REQUIRED_VERSION="3.20"
GTKSOURCEVIEW_REQUIRED_VERSION="3.23.1"
-GTEF_REQUIRED_VERSION="1.1.1"
+GTEF_REQUIRED_VERSION="1.99.0"
GSPELL_REQUIRED_VERSION="1.0"
VALA_REQUIRED_VERSION="0.34"
GEE_REQUIRED_VERSION="0.10"
@@ -100,8 +100,8 @@ if ! pkg-config --atleast-version=${GTKSOURCEVIEW_REQUIRED_VERSION} gtksourcevie
AC_MSG_ERROR([gtksourceview-3.0 >= ${GTKSOURCEVIEW_REQUIRED_VERSION} required.])
fi
-if ! pkg-config --atleast-version=${GTEF_REQUIRED_VERSION} gtef-1; then
- AC_MSG_ERROR([gtef-1 >= ${GTEF_REQUIRED_VERSION} required.])
+if ! pkg-config --atleast-version=${GTEF_REQUIRED_VERSION} gtef-2; then
+ AC_MSG_ERROR([gtef-2 >= ${GTEF_REQUIRED_VERSION} required.])
fi
if ! pkg-config --atleast-version=${GSPELL_REQUIRED_VERSION} gspell-1; then
@@ -121,7 +121,7 @@ dependencies="
gio-2.0
gtk+-3.0
gtksourceview-3.0
- gtef-1
+ gtef-2
gspell-1
gsettings-desktop-schemas
gee-0.8"
diff --git a/src/Makefile.am b/src/Makefile.am
index 4103784..cf99e25 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,7 +8,7 @@ VALAFLAGS = \
--pkg gtk+-3.0 \
--disable-since-check \
--pkg gtksourceview-3.0 \
- --pkg gtef-1 \
+ --pkg gtef-2 \
--pkg gspell-1 \
--pkg gee-0.8 \
--pkg posix \
diff --git a/src/main_window.vala b/src/main_window.vala
index 5cde312..cf9b387 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -727,7 +727,7 @@ public class MainWindow : ApplicationWindow
tab.document.modified_changed.connect (() => sync_name (tab));
tab.document.notify["readonly"].connect (() => sync_name (tab));
- tab.document.cursor_moved.connect (update_cursor_position_statusbar);
+ tab.document.gtef_cursor_moved.connect (update_cursor_position_statusbar);
tab.show ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]