[gnome-builder/wip/chergert/debugger: 46/100] gdb: fix G-I warning



commit f5bcb2eeb4a2ca41dff47c98dae475d01638def6
Author: Christian Hergert <chergert redhat com>
Date:   Sat Mar 25 00:42:42 2017 -0700

    gdb: fix G-I warning

 plugins/gdb/gdb_plugin.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/gdb/gdb_plugin.py b/plugins/gdb/gdb_plugin.py
index dc8c8b3..f9fb9c8 100644
--- a/plugins/gdb/gdb_plugin.py
+++ b/plugins/gdb/gdb_plugin.py
@@ -19,8 +19,11 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
+import gi
 import os
 
+gi.require_version('Mi2', '1.0')
+
 from gi.repository import GLib
 from gi.repository import GObject
 from gi.repository import Gio


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