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



commit 24d54f8382d444f312c34b60ad72a5b7e73c63ec
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]