summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-15 03:30:16 -0800
committerStefano Karapetsas <[email protected]>2013-11-15 03:30:16 -0800
commit7ceb8fe98bdaf81e3e9a638f0abbfa657aa00ab2 (patch)
treea627bff9cae290af94fd7ea425ee977faf280977
parent44be0fc2b7b869f55f452cffb5f9fbc64a08d594 (diff)
parentd606b8dee0dddc9dd4e4a03779eaf13f1a61a830 (diff)
downloadpluma-7ceb8fe98bdaf81e3e9a638f0abbfa657aa00ab2.tar.bz2
pluma-7ceb8fe98bdaf81e3e9a638f0abbfa657aa00ab2.tar.xz
Merge pull request #48 from infirit/master
gtk3: fix implicit declaration: gtk_source_language_get_id
-rw-r--r--plugins/modelines/modeline-parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/modelines/modeline-parser.c b/plugins/modelines/modeline-parser.c
index 2a54fd09..c1d96140 100644
--- a/plugins/modelines/modeline-parser.c
+++ b/plugins/modelines/modeline-parser.c
@@ -22,6 +22,10 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gtksourceview/gtksource.h>
+#endif
#include <pluma/pluma-language-manager.h>
#include <pluma/pluma-prefs-manager.h>
#include <pluma/pluma-debug.h>