[gedit-plugins] word-completion: #include only the main header of GtkSourceView
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] word-completion: #include only the main header of GtkSourceView
- Date: Sat, 25 Jun 2016 17:12:19 +0000 (UTC)
commit f510b0fd8b1879c0a43c2c6c61d25f80ede81754
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Jun 25 19:07:56 2016 +0200
word-completion: #include only the main header of GtkSourceView
The word completion provider of GtkSourceView is now #included in
gtksource.h.
configure.ac | 2 +-
.../wordcompletion/gedit-word-completion-plugin.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9a4a04c..c45fa56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ PKG_CHECK_MODULES(GEDIT, [
glib-2.0 >= 2.32.0
gio-2.0 >= 2.32.0
gtk+-3.0 >= 3.9.0
- gtksourceview-3.0 >= 3.17.3
+ gtksourceview-3.0 >= 3.21.3
libpeas-1.0 >= 1.7.0
libpeas-gtk-1.0 >= 1.7.0
gedit >= 3.16.0
diff --git a/plugins/wordcompletion/gedit-word-completion-plugin.c
b/plugins/wordcompletion/gedit-word-completion-plugin.c
index 6466723..6bf81ee 100644
--- a/plugins/wordcompletion/gedit-word-completion-plugin.c
+++ b/plugins/wordcompletion/gedit-word-completion-plugin.c
@@ -32,7 +32,6 @@
#include <gedit/gedit-view-activatable.h>
#include <libpeas-gtk/peas-gtk-configurable.h>
#include <gtksourceview/gtksource.h>
-#include <gtksourceview/completion-providers/words/gtksourcecompletionwords.h>
#define WINDOW_PROVIDER "GeditWordCompletionPluginProvider"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]