diff options
-rw-r--r-- | pluma/pluma-file-chooser-dialog.c | 2 | ||||
-rw-r--r-- | pluma/pluma-language-manager.c | 3 | ||||
-rw-r--r-- | pluma/pluma-window.c | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/pluma/pluma-file-chooser-dialog.c b/pluma/pluma-file-chooser-dialog.c index 389ba85a..819d2a3b 100644 --- a/pluma/pluma-file-chooser-dialog.c +++ b/pluma/pluma-file-chooser-dialog.c @@ -39,7 +39,9 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> +#if GTK_CHECK_VERSION (3, 0, 0) #include <gtksourceview/gtksource.h> +#endif #include "pluma-file-chooser-dialog.h" #include "pluma-encodings-combo-box.h" diff --git a/pluma/pluma-language-manager.c b/pluma/pluma-language-manager.c index 903e8275..85c954b7 100644 --- a/pluma/pluma-language-manager.c +++ b/pluma/pluma-language-manager.c @@ -31,8 +31,9 @@ #include <string.h> #include <gtk/gtk.h> +#if GTK_CHECK_VERSION (3, 0, 0) #include <gtksourceview/gtksource.h> - +#endif #include "pluma-language-manager.h" #include "pluma-prefs-manager.h" #include "pluma-utils.h" diff --git a/pluma/pluma-window.c b/pluma/pluma-window.c index b783d62c..e2041bbf 100644 --- a/pluma/pluma-window.c +++ b/pluma/pluma-window.c @@ -38,7 +38,10 @@ #include <glib/gi18n.h> #include <gio/gio.h> +#include <gtk/gtk.h> +#if GTK_CHECK_VERSION (3, 0, 0) #include <gtksourceview/gtksource.h> +#endif #include "pluma-ui.h" #include "pluma-window.h" |