From e66cfa31ff52b95a9c3df27c8a1f3b02bef6db3d Mon Sep 17 00:00:00 2001
From: Seth Hitefield <sdhitefield@gmail.com>
Date: Mon, 11 Apr 2016 22:09:16 -0400
Subject: grc: Main window opens with pygobject and gtk3. Still throws tons of
 errors.

---
 grc/gui/FlowGraph.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'grc/gui/FlowGraph.py')

diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py
index 02d5197fb0..f7af93fe8e 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -23,7 +23,7 @@ from distutils.spawn import find_executable
 from itertools import chain, count
 from operator import methodcaller
 
-import gobject
+from gi.repository import GObject
 
 from . import Actions, Colors, Constants, Utils, Bars, Dialogs
 from .Constants import SCROLL_PROXIMITY_SENSITIVITY, SCROLL_DISTANCE
@@ -98,7 +98,7 @@ class FlowGraph(Element, _Flowgraph):
             editor = self._external_updaters[target] = ExternalEditor(
                 editor=editor,
                 name=target[0], value=param.get_value(),
-                callback=functools.partial(gobject.idle_add, updater)
+                callback=functools.partial(GObject.idle_add, updater)
             )
             editor.start()
         try:
@@ -706,7 +706,7 @@ class FlowGraph(Element, _Flowgraph):
         Auto-scroll the scroll bars at the boundaries.
         """
         #to perform a movement, the mouse must be pressed
-        # (no longer checking pending events via gtk.events_pending() - always true in Windows)
+        # (no longer checking pending events via Gtk.events_pending() - always true in Windows)
         if not self.mouse_pressed:
             # only continue if mouse-over stuff is enabled (just the auto-hide port label stuff for now)
             if not Actions.TOGGLE_AUTO_HIDE_PORT_LABELS.get_active(): return
-- 
cgit v1.2.3