[totem/gnome-3-10] opensubtitles: Fix error with newer version of PyGObject
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-10] opensubtitles: Fix error with newer version of PyGObject
- Date: Sun, 23 Mar 2014 13:12:38 +0000 (UTC)
commit 960aaa5a566d614b760c54cb86e9e445ae12109a
Author: Bastien Nocera <hadess hadess net>
Date: Sun Mar 23 14:05:11 2014 +0100
opensubtitles: Fix error with newer version of PyGObject
We cannot pass an object as user_data, as pygobject stopped handling
non-integers, non-capsules or not None as possible arguments.
As we do not use Totem.plugin_load_interface()'s signal connection
feature, pass None instead.
https://bugzilla.gnome.org/show_bug.cgi?id=724093
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 dd163aa..49f357b 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -435,7 +435,7 @@ class OpenSubtitles (GObject.Object, # pylint: disable-msg=R0902
builder = Totem.plugin_load_interface ("opensubtitles",
"opensubtitles.ui", True,
self._totem.get_main_window (),
- self)
+ None)
# Obtain all the widgets we need to initialize
combobox = builder.get_object ('language_combobox')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]