Fix deprecation warning
This commit is contained in:
parent
de46d81828
commit
552af8aa56
@ -73,7 +73,7 @@ class PulsingIcon(CanvasIcon):
|
|||||||
def _start(self):
|
def _start(self):
|
||||||
if self._pulse_sid == 0:
|
if self._pulse_sid == 0:
|
||||||
self._pulse_sid = gobject.timeout_add(
|
self._pulse_sid = gobject.timeout_add(
|
||||||
self._pulse_time * 1000, self._pulse_timeout)
|
int(self._pulse_time * 1000), self._pulse_timeout)
|
||||||
|
|
||||||
def _stop(self):
|
def _stop(self):
|
||||||
if self._pulse_sid:
|
if self._pulse_sid:
|
||||||
|
Loading…
Reference in New Issue
Block a user