summaryrefslogtreecommitdiff
path: root/community/giggle/gtksourceview3.7.patch
blob: eb86cdeefc598a30c162dd44df804cfba77a5445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 9999a7ff573b7f3320c2065e8d0eaf0fea32a41b Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Wed, 03 Apr 2013 20:26:17 +0000
Subject: Directly include gtksourcebuffer.h

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

https://bugzilla.gnome.org/show_bug.cgi?id=697220
---
diff --git a/src/giggle-diff-view.c b/src/giggle-diff-view.c
index 3ded28d..ff6bbe3 100644
--- a/src/giggle-diff-view.c
+++ b/src/giggle-diff-view.c
@@ -29,6 +29,8 @@
 #include <glib/gi18n.h>
 #include <string.h>
 
+#include <gtksourceview/gtksourcebuffer.h>
+
 typedef struct GiggleDiffViewPriv GiggleDiffViewPriv;
 typedef struct GiggleDiffViewFile GiggleDiffViewFile;
 typedef struct GiggleDiffViewHunk GiggleDiffViewHunk;
diff --git a/src/giggle-view-file.c b/src/giggle-view-file.c
index 130af4a..517858d 100644
--- a/src/giggle-view-file.c
+++ b/src/giggle-view-file.c
@@ -40,6 +40,7 @@
 
 #include <gtksourceview/gtksourcelanguagemanager.h>
 #include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksourcebuffer.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))
--
cgit v0.9.1