[longomatch] Make VideoWindow event handlers return the VideoWindow as "sender" instead of the internal EventBox,
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Make VideoWindow event handlers return the VideoWindow as "sender" instead of the internal EventBox,
- Date: Tue, 31 Mar 2015 17:35:55 +0000 (UTC)
commit f6506cc0b2ebf7c68934b878fc6b6814031ae497
Author: Xavi Artigas <xartigas fluendo com>
Date: Thu Mar 26 18:25:36 2015 +0100
Make VideoWindow event handlers return the VideoWindow as "sender" instead of the internal EventBox,
which nobody knows.
LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs b/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
index f5d0aad..1a2a2c8 100644
--- a/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
@@ -69,7 +69,7 @@ namespace LongoMatch.Gui
void HandleScrollEvent (object o, ScrollEventArgs args)
{
if (ScrollEvent != null) {
- ScrollEvent (o, args);
+ ScrollEvent (this, args);
}
}
@@ -78,19 +78,19 @@ namespace LongoMatch.Gui
{
if (!Ready) {
if (ReadyEvent != null) {
- ReadyEvent (o, null);
+ ReadyEvent (this, null);
}
Ready = true;
}
if (ExposeEvent != null) {
- ExposeEvent (o, args);
+ ExposeEvent (this, args);
}
}
void HandleButtonPressEvent (object o, ButtonPressEventArgs args)
{
if (ButtonPressEvent != null) {
- ButtonPressEvent (o, args);
+ ButtonPressEvent (this, args);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]