[gitg/xiaoguang/split-view: 1/3] Show only diffs
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/xiaoguang/split-view: 1/3] Show only diffs
- Date: Mon, 7 Jan 2019 22:56:38 +0000 (UTC)
commit acb73d986bf2b24909a0a3acf8ddc1b9441f3e28
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Mon Jan 7 23:48:48 2019 +0100
Show only diffs
libgitg/gitg-diff-view-file-renderer-text.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgitg/gitg-diff-view-file-renderer-text.vala b/libgitg/gitg-diff-view-file-renderer-text.vala
index 09bf132d..6d11577f 100644
--- a/libgitg/gitg-diff-view-file-renderer-text.vala
+++ b/libgitg/gitg-diff-view-file-renderer-text.vala
@@ -389,7 +389,7 @@ class Gitg.DiffViewFileRendererText : Gtk.SourceView, DiffSelectable, DiffViewFi
return null;
}
- var buffer = this.buffer as Gtk.SourceBuffer;
+ var buffer = new Gtk.SourceBuffer(this.buffer.tag_table);
var style_scheme_manager = Gtk.SourceStyleSchemeManager.get_default();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]