diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-03-08 23:01:48 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-03-09 00:36:09 +0100 |
commit | 155ffb3cfe9acd2bf0f1caa9bcc481e1623c5ea8 (patch) | |
tree | 054e1d9d0378f650dfad3c0367af75b706b17ffd /src | |
parent | c76e276b415c458e38966d3ec58cd750452c9b15 (diff) | |
download | totem-155ffb3cfe9acd2bf0f1caa9bcc481e1623c5ea8.tar.gz |
opensubtitles: Fix run-time deprecation warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/opensubtitles/opensubtitles.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py index b9cfac472..2d39e338b 100644 --- a/src/plugins/opensubtitles/opensubtitles.py +++ b/src/plugins/opensubtitles/opensubtitles.py @@ -603,10 +603,10 @@ class OpenSubtitles (GObject.Object, # pylint: disable-msg=R0902 thread = DownloadThread (self._model, subtitle_id) thread.start () - GObject.idle_add (self._save_subtitles, thread, subtitle_format) + GLib.idle_add (self._save_subtitles, thread, subtitle_format) self._progress.set_text (_(u'Downloading the subtitles…')) - GObject.timeout_add (350, self._progress_bar_increment, thread) + GLib.timeout_add (350, self._progress_bar_increment, thread) else: #warn user! pass |