[gedit-plugins] terminal: Require Vte 2.90.



commit 2e16e1c69c3eb909c9d338ae1d9e8a0624164728
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Fri Mar 29 21:42:40 2013 +0100

    terminal: Require Vte 2.90.
    
    If for whatever reason we would end up loading Vte 0.0, the plugin will
    fail on a clash between Gtk3 (from gedit) and Gtk2 (from Vte 0.0).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697230

 plugins/terminal/terminal.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/terminal/terminal.py b/plugins/terminal/terminal.py
index e4699e1..9513379 100644
--- a/plugins/terminal/terminal.py
+++ b/plugins/terminal/terminal.py
@@ -20,6 +20,8 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor,
 # Boston, MA  02110-1301  USA
 
+import gi
+gi.require_version('Vte', '2.90')
 from gi.repository import GObject, GLib, Gio, Pango, Gdk, Gtk, Gedit, Vte
 import os
 import gettext


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]