summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-11-15 10:00:27 +0100
committerinfirit <[email protected]>2013-11-15 10:00:27 +0100
commitd606b8dee0dddc9dd4e4a03779eaf13f1a61a830 (patch)
treea627bff9cae290af94fd7ea425ee977faf280977
parent665c8ddf3f90e0a0cf14432c8a387164aacbea0f (diff)
downloadpluma-d606b8dee0dddc9dd4e4a03779eaf13f1a61a830.tar.bz2
pluma-d606b8dee0dddc9dd4e4a03779eaf13f1a61a830.tar.xz
gtk3: fix implicit declaration: gtk_source_language_get_id
modeline-parser.c:651:11: warning: implicit declaration of function 'gtk_source_language_get_id' [-Wimplicit-function-declaration]
-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>