File giggle-gtksourceview38.patch of Package giggle

From 93caca22e5edcb463c6ab554aea03bf421a4e910 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Wed, 3 Apr 2013 22:26:17 +0200
Subject: [PATCH] Directly include gtksourcebuffer.h

Until gtksourceview 3.7, it was included indirectly by gtksourceview.h.

https://bugzilla.gnome.org/show_bug.cgi?id=697220
---
 src/giggle-diff-view.c | 2 ++
 src/giggle-view-file.c | 1 +
 2 files changed, 3 insertions(+)

Index: giggle-0.7/src/giggle-view-file.c
===================================================================
--- giggle-0.7.orig/src/giggle-view-file.c
+++ giggle-0.7/src/giggle-view-file.c
@@ -38,8 +38,7 @@
 #include <gio/gio.h>
 #include <glib/gi18n.h>
 
-#include <gtksourceview/gtksourcelanguagemanager.h>
-#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksource.h>
 
 #define GIGGLE_TYPE_VIEW_FILE_SNAPSHOT            (giggle_view_file_snapshot_get_type ())
 #define GIGGLE_VIEW_FILE_SNAPSHOT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_VIEW_FILE_SNAPSHOT, GiggleViewFileSnapshot))
Index: giggle-0.7/src/giggle-diff-view.h
===================================================================
--- giggle-0.7.orig/src/giggle-diff-view.h
+++ giggle-0.7/src/giggle-diff-view.h
@@ -21,8 +21,7 @@
 
 #include <glib-object.h>
 #include <gtk/gtk.h>
-#include <gtksourceview/gtksourceview.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
+#include <gtksourceview/gtksource.h>
 
 #include "libgiggle/giggle-revision.h"
 
openSUSE Build Service is sponsored by