[gnome-music/wip/merge: 190/343] player: don't set priority in timeout_add
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 190/343] player: don't set priority in timeout_add
- Date: Thu, 25 Jul 2013 11:28:57 +0000 (UTC)
commit 3c52ac5a33b9717b346e8d9634f9e69923ca7ecb
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jul 16 18:24:14 2013 +0200
player: don't set priority in timeout_add
gnomemusic/player.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 65a2ae6..5da13aa 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -404,7 +404,7 @@ class Player(GObject.GObject):
self.onProgressScaleChangeValue(self.progressScale)
self._updatePositionCallback()
self.player.set_state(self._lastState)
- self.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 1000, self._updatePositionCallback)
+ self.timeout = GLib.timeout_add(1000, self._updatePositionCallback)
return False
def _onProgressValueChanged(self, widget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]