mirror of
https://github.com/elementary/gala.git
synced 2024-08-17 11:00:28 +03:00
Use Source.REMOVE
This commit is contained in:
parent
f771b2a4ff
commit
43200bc0ff
@ -99,7 +99,7 @@ namespace Gala {
|
||||
|
||||
Idle.add (() => {
|
||||
loaded ();
|
||||
return false;
|
||||
return Source.REMOVE;
|
||||
});
|
||||
}
|
||||
|
||||
@ -209,7 +209,7 @@ namespace Gala {
|
||||
update_animation_timeout_id = Timeout.add (interval, () => {
|
||||
update_animation_timeout_id = 0;
|
||||
update_animation ();
|
||||
return false;
|
||||
return Source.REMOVE;
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -63,7 +63,7 @@ namespace Gala {
|
||||
if (animation != null && animation.filename == filename) {
|
||||
Idle.add (() => {
|
||||
get_animation.callback ();
|
||||
return false;
|
||||
return Source.REMOVE;
|
||||
});
|
||||
yield;
|
||||
|
||||
@ -76,7 +76,7 @@ namespace Gala {
|
||||
|
||||
Idle.add (() => {
|
||||
get_animation.callback ();
|
||||
return false;
|
||||
return Source.REMOVE;
|
||||
});
|
||||
yield;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user