36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
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
|
|
--- src/giggle-diff-view.c
|
|
+++ 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
|
|
--- src/giggle-view-file.c
|
|
+++ 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
|