[longomatch] Use the IGUItoolkit for the main thread calls
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use the IGUItoolkit for the main thread calls
- Date: Tue, 31 Mar 2015 17:33:44 +0000 (UTC)
commit 3c63e37f24ac3fc8f99b8755311e65e6fc355e6a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Mar 24 19:31:40 2015 +0100
Use the IGUItoolkit for the main thread calls
LongoMatch.Services/Services/PlayerController.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch.Services/Services/PlayerController.cs
b/LongoMatch.Services/Services/PlayerController.cs
index ff5eff0..edb5ba8 100644
--- a/LongoMatch.Services/Services/PlayerController.cs
+++ b/LongoMatch.Services/Services/PlayerController.cs
@@ -822,7 +822,7 @@ namespace LongoMatch.Services
* be deferred to the UI main thread */
void HandleStateChange (bool playing)
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
if (playing) {
ReconfigureTimeout (TIMEOUT_MS);
} else {
@@ -836,7 +836,7 @@ namespace LongoMatch.Services
void HandleReadyToSeek ()
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
readyToSeek = true;
streamLenght = player.StreamLength;
if (pendingSeek != null) {
@@ -854,7 +854,7 @@ namespace LongoMatch.Services
void HandleEndOfStream ()
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
if (loadedPlaylistElement is PlaylistVideo) {
Config.EventsBroker.EmitNextPlaylistElement (loadedPlaylist);
} else {
@@ -866,7 +866,7 @@ namespace LongoMatch.Services
void HandleError (string message)
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
Config.EventsBroker.EmitMultimediaError (message);
});
}
@@ -877,14 +877,14 @@ namespace LongoMatch.Services
void HandleTimeout (Object state)
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
Tick ();
});
}
void HandleSeekEvent (SeekType type, Time start, float rate)
{
- Config.DrawingToolkit.Invoke (delegate {
+ Config.GUIToolkit.Invoke (delegate {
EmitLoadDrawings (null);
/* We only use it for backwards framestepping for now */
if (type == SeekType.StepDown || type == SeekType.StepUp) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]