[longomatch] Disable 0169 warnings in bindings
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Disable 0169 warnings in bindings
- Date: Mon, 5 Jul 2010 18:47:15 +0000 (UTC)
commit 93aa663079d6f354b7c6e2cb44c5e026d4108abd
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Jun 27 02:35:36 2010 +0200
Disable 0169 warnings in bindings
CesarPlayer/Capturer/GstCameraCapturer.cs | 4 +++-
CesarPlayer/Editor/GstVideoSplitter.cs | 4 ++--
CesarPlayer/Player/GstPlayer.cs | 2 ++
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/CesarPlayer/Capturer/GstCameraCapturer.cs b/CesarPlayer/Capturer/GstCameraCapturer.cs
index 081fc75..98809d5 100644
--- a/CesarPlayer/Capturer/GstCameraCapturer.cs
+++ b/CesarPlayer/Capturer/GstCameraCapturer.cs
@@ -142,7 +142,8 @@ namespace LongoMatch.Video.Capturer {
val.Dispose ();
}
}
-
+
+#pragma warning disable 0169
[GLib.CDeclCallback]
delegate void ErrorSignalDelegate (IntPtr arg0, IntPtr arg1, IntPtr gch);
@@ -258,6 +259,7 @@ namespace LongoMatch.Video.Capturer {
sig.RemoveDelegate (value);
}
}
+#pragma warning restore 0169
[DllImport("libcesarplayer.dll")]
static extern void gst_camera_capturer_init_backend(out int argc, IntPtr argv);
diff --git a/CesarPlayer/Editor/GstVideoSplitter.cs b/CesarPlayer/Editor/GstVideoSplitter.cs
index 3d5a8fb..c97c1cb 100644
--- a/CesarPlayer/Editor/GstVideoSplitter.cs
+++ b/CesarPlayer/Editor/GstVideoSplitter.cs
@@ -159,7 +159,7 @@ namespace LongoMatch.Video.Editor {
#region GSignals
-
+#pragma warning disable 0169
[GLib.CDeclCallback]
delegate void ErrorVMDelegate (IntPtr gvc, IntPtr message);
@@ -258,7 +258,7 @@ namespace LongoMatch.Video.Editor {
sig.RemoveDelegate (value);
}
}
-
+#pragma warning restore 0169
#endregion
#region Public Methods
diff --git a/CesarPlayer/Player/GstPlayer.cs b/CesarPlayer/Player/GstPlayer.cs
index ea28005..6f51e51 100644
--- a/CesarPlayer/Player/GstPlayer.cs
+++ b/CesarPlayer/Player/GstPlayer.cs
@@ -173,6 +173,7 @@ namespace LongoMatch.Video.Player {
}
}
+#pragma warning disable 0169
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
delegate void ReadyToSeekVMDelegate (IntPtr bvw);
@@ -754,6 +755,7 @@ namespace LongoMatch.Video.Player {
sig.RemoveDelegate (value);
}
}
+#pragma warning restore 0169
[DllImport("libcesarplayer.dll")]
static extern IntPtr bacon_video_widget_get_backend_name(IntPtr raw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]