[pitivi] viewer: Port to the new Gdk.Window API
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] viewer: Port to the new Gdk.Window API
- Date: Sun, 2 Sep 2012 03:57:18 +0000 (UTC)
commit 2c2c24ab51fd5d9cc1e632a2f2319acb417f100f
Author: Thibault Saunier <thibault saunier collabora com>
Date: Tue Jul 3 16:06:41 2012 -0400
viewer: Port to the new Gdk.Window API
pitivi/viewer.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index 0f3a827..b88008b 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -864,9 +864,9 @@ class ViewerWidget(gtk.DrawingArea, Loggable):
"""
gtk.DrawingArea.do_realize(self)
if platform.system() == 'Windows':
- self.window_xid = self.window.handle
+ self.window_xid = self.props.window.handle
else:
- self.window_xid = self.window.xid
+ self.window_xid = self.get_property('window').get_xid()
def button_release_event(self, widget, event):
if event.button == 1:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]