diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-03-23 14:05:11 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-03-23 14:10:48 +0100 |
commit | a05e420f4b43db80e4a96793211a9eca4cf3e130 (patch) | |
tree | e0f49561eee705ea1c1f5d76a184a30cfdf5de43 /src/plugins | |
parent | 410e8650f3154fc7a1d37b34f413bd6e93925413 (diff) | |
download | totem-a05e420f4b43db80e4a96793211a9eca4cf3e130.tar.gz |
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
Diffstat (limited to 'src/plugins')
-rw-r--r-- | 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 1d98404da..87979ec1c 100644 --- a/src/plugins/opensubtitles/opensubtitles.py +++ b/src/plugins/opensubtitles/opensubtitles.py @@ -430,7 +430,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') |