diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-11-03 19:52:20 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-11-07 15:50:30 (GMT) |
commit | 996d542fd7d2d464edd572b165e80f9cb2c20ec7 (patch) | |
tree | 3b1cddc371ea986c51590db07d90423b12e65507 /epubview/widgets.py | |
parent | 2f2b3e99fc21d4386c8ce03b051d853937d955ac (diff) |
Initial port to Gtk3
Diffstat (limited to 'epubview/widgets.py')
-rw-r--r-- | epubview/widgets.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/epubview/widgets.py b/epubview/widgets.py index a603c34..39c52ce 100644 --- a/epubview/widgets.py +++ b/epubview/widgets.py @@ -1,10 +1,9 @@ -import webkit -import gtk +from gi.repository import WebKit -class _WebView(webkit.WebView): +class _WebView(WebKit.WebView): def __init__(self): - webkit.WebView.__init__(self) + WebKit.WebView.__init__(self) def get_page_height(self): ''' |