]>
Commit | Line | Data |
---|---|---|
0d79739d ŁK |
1 | From 9999a7ff573b7f3320c2065e8d0eaf0fea32a41b Mon Sep 17 00:00:00 2001 |
2 | From: Dominique Leuenberger <dimstar@opensuse.org> | |
3 | Date: Wed, 03 Apr 2013 20:26:17 +0000 | |
4 | Subject: Directly include gtksourcebuffer.h | |
5 | ||
6 | Until gtksourceview 3.7, it was included indirectly by gtksourceview.h. | |
7 | ||
8 | https://bugzilla.gnome.org/show_bug.cgi?id=697220 | |
9 | --- | |
10 | diff --git a/src/giggle-diff-view.c b/src/giggle-diff-view.c | |
11 | index 3ded28d..ff6bbe3 100644 | |
12 | --- a/src/giggle-diff-view.c | |
13 | +++ b/src/giggle-diff-view.c | |
14 | @@ -29,6 +29,8 @@ | |
15 | #include <glib/gi18n.h> | |
16 | #include <string.h> | |
17 | ||
18 | +#include <gtksourceview/gtksourcebuffer.h> | |
19 | + | |
20 | typedef struct GiggleDiffViewPriv GiggleDiffViewPriv; | |
21 | typedef struct GiggleDiffViewFile GiggleDiffViewFile; | |
22 | typedef struct GiggleDiffViewHunk GiggleDiffViewHunk; | |
23 | diff --git a/src/giggle-view-file.c b/src/giggle-view-file.c | |
24 | index 130af4a..517858d 100644 | |
25 | --- a/src/giggle-view-file.c | |
26 | +++ b/src/giggle-view-file.c | |
27 | @@ -40,6 +40,7 @@ | |
28 | ||
29 | #include <gtksourceview/gtksourcelanguagemanager.h> | |
30 | #include <gtksourceview/gtksourceview.h> | |
31 | +#include <gtksourceview/gtksourcebuffer.h> | |
32 | ||
33 | #define GIGGLE_TYPE_VIEW_FILE_SNAPSHOT (giggle_view_file_snapshot_get_type ()) | |
34 | #define GIGGLE_VIEW_FILE_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_VIEW_FILE_SNAPSHOT, GiggleViewFileSnapshot)) | |
35 | -- | |
36 | cgit v0.9.1 | |
37 |