[sushi: 1/2] workaround for having both gtksourceview 3 and 4 installed. Fixes #12.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi: 1/2] workaround for having both gtksourceview 3 and 4 installed. Fixes #12.
- Date: Mon, 1 Apr 2019 18:39:21 +0000 (UTC)
commit 8b2ec7f5e6ad39e04aa9bd562022d66163f50d19
Author: Joel Ong <joel ong yale edu>
Date: Mon Apr 1 14:26:02 2019 -0400
workaround for having both gtksourceview 3 and 4 installed. Fixes #12.
src/js/viewers/text.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/js/viewers/text.js b/src/js/viewers/text.js
index 86a53b7..9566adb 100644
--- a/src/js/viewers/text.js
+++ b/src/js/viewers/text.js
@@ -23,6 +23,8 @@
*
*/
+imports.gi.versions.GtkSource = '3.0';
+
const Gdk = imports.gi.Gdk;
const GtkClutter = imports.gi.GtkClutter;
const Gtk = imports.gi.Gtk;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]