Commit 7277d87f authored by Kai Willadsen's avatar Kai Willadsen

diffmap: Call our correct parent init

parent 6149926d
......@@ -18,7 +18,6 @@ import collections
import cairo
from gi.repository import GObject
from gi.repository import Gdk
from gi.repository import Gtk
......@@ -31,7 +30,7 @@ class DiffMap(Gtk.DrawingArea):
__gtype_name__ = "DiffMap"
def __init__(self):
GObject.GObject.__init__(self)
Gtk.DrawingArea.__init__(self)
self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
self._scrolladj = None
self._difffunc = lambda: None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment