gtk3 check gtksourceview include

This commit is contained in:
infirit 2013-10-30 17:06:27 +01:00
parent e79794e482
commit 0d2f43acef
3 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,9 @@
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gtksourceview/gtksource.h> #include <gtksourceview/gtksource.h>
#endif
#include "pluma-file-chooser-dialog.h" #include "pluma-file-chooser-dialog.h"
#include "pluma-encodings-combo-box.h" #include "pluma-encodings-combo-box.h"

View File

@ -31,8 +31,9 @@
#include <string.h> #include <string.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gtksourceview/gtksource.h> #include <gtksourceview/gtksource.h>
#endif
#include "pluma-language-manager.h" #include "pluma-language-manager.h"
#include "pluma-prefs-manager.h" #include "pluma-prefs-manager.h"
#include "pluma-utils.h" #include "pluma-utils.h"

View File

@ -38,7 +38,10 @@
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <gio/gio.h> #include <gio/gio.h>
#include <gtk/gtk.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gtksourceview/gtksource.h> #include <gtksourceview/gtksource.h>
#endif
#include "pluma-ui.h" #include "pluma-ui.h"
#include "pluma-window.h" #include "pluma-window.h"