[gupnp-tools] av-cp: Use single GtkSourceView include header



commit f5793f095a6fdce15e18b4e17d76daa8de96705f
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Sat Jan 12 18:09:28 2013 +0100

    av-cp: Use single GtkSourceView include header
    
    Include gtksourceview/gtksource.h instead of individual include files
    
    Slightly modified version of the original patch
    
    Fixes bug 691614.

 configure.ac                  |    2 +-
 src/av-cp/playlist-treeview.c |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3872452..fc4c4c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ GUPNP_AV_REQUIRED=0.5.5
 GTK_REQUIRED=3.0.0
 GTHREAD_REQUIRED=2.12
 ICON_THEME_REQUIRED=2.20
-GTKSOURCEVIEW_REQUIRED=3.0.0
+GTKSOURCEVIEW_REQUIRED=3.2.0
 LIBXML_REQUIRED=2.24
 
 AC_MSG_CHECKING([for Win32])
diff --git a/src/av-cp/playlist-treeview.c b/src/av-cp/playlist-treeview.c
index 585c634..3906037 100644
--- a/src/av-cp/playlist-treeview.c
+++ b/src/av-cp/playlist-treeview.c
@@ -24,9 +24,7 @@
 #include <gmodule.h>
 
 #ifdef HAVE_GTK_SOURCEVIEW
-#include <gtksourceview/gtksourceview.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
-#include <gtksourceview/gtksourcelanguage.h>
+#include <gtksourceview/gtksource.h>
 #endif
 
 #include "playlist-treeview.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]