[totem] opensubtitles: Fix another run-time deprecation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] opensubtitles: Fix another run-time deprecation
- Date: Tue, 10 Mar 2015 11:38:48 +0000 (UTC)
commit 8c8667670f4bf9d4e6714074368e14db79c41b9a
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 10 12:37:58 2015 +0100
opensubtitles: Fix another run-time deprecation
opensubtitles.py:377: PyGIDeprecationWarning: GObject.property is deprecated; use GObject.Property instead
src/plugins/opensubtitles/opensubtitles.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index 2d39e33..b7d6729 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -374,7 +374,7 @@ class OpenSubtitles (GObject.Object, # pylint: disable-msg=R0902
Peas.Activatable):
__gtype_name__ = 'OpenSubtitles'
- object = GObject.property (type = GObject.Object)
+ object = GObject.Property (type = GObject.Object)
def __init__ (self):
GObject.Object.__init__ (self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]