summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-25 08:15:11 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-25 08:15:11 +0100
commit579b8f3277800c7a4ddda8c9dedf3bcabf01c5ac (patch)
treed7e9be9449f33504d46f82795b99ae54f4a4cc59
parent6c1b52b76ad55b38bcaa0879fd91741449b805da (diff)
Update glib-sharp from trunk
Fixes bug #595377.
-rwxr-xr-xgstreamer-sharp/glib-sharp/GType.cs2
-rwxr-xr-xgstreamer-sharp/glib-sharp/Idle.cs1
-rwxr-xr-xgstreamer-sharp/glib-sharp/Value.cs2
3 files changed, 3 insertions, 2 deletions
diff --git a/gstreamer-sharp/glib-sharp/GType.cs b/gstreamer-sharp/glib-sharp/GType.cs
index ae8174e..470fb58 100755
--- a/gstreamer-sharp/glib-sharp/GType.cs
+++ b/gstreamer-sharp/glib-sharp/GType.cs
@@ -230,8 +230,8 @@ namespace Gst.GLib {
foreach (AssemblyName ref_name in asm.GetReferencedAssemblies ()) {
if (ref_name.Name != asm_name)
continue;
- string asm_dir = Path.GetDirectoryName (asm.Location);
try {
+ string asm_dir = Path.GetDirectoryName (asm.Location);
Assembly ref_asm;
if (File.Exists (Path.Combine (asm_dir, ref_name.Name + ".dll")))
ref_asm = Assembly.LoadFrom (Path.Combine (asm_dir, ref_name.Name + ".dll"));
diff --git a/gstreamer-sharp/glib-sharp/Idle.cs b/gstreamer-sharp/glib-sharp/Idle.cs
index dd15f3b..2ffdfe9 100755
--- a/gstreamer-sharp/glib-sharp/Idle.cs
+++ b/gstreamer-sharp/glib-sharp/Idle.cs
@@ -61,6 +61,7 @@ namespace Gst.GLib {
// Both branches remove our delegate from the
// managed list of handlers, but only
// Source.Remove will remove it from the
+ // unmanaged list also.
if (disposing)
Remove ();
diff --git a/gstreamer-sharp/glib-sharp/Value.cs b/gstreamer-sharp/glib-sharp/Value.cs
index 31ab85f..531de1a 100755
--- a/gstreamer-sharp/glib-sharp/Value.cs
+++ b/gstreamer-sharp/glib-sharp/Value.cs
@@ -552,7 +552,7 @@ namespace Gst.GLib {
else if (type == GType.UInt64.Val)
g_value_set_uint64 (ref this, (ulong) value);
else if (type == GType.ULong.Val)
- SetULongForPlatform ((ulong) value);
+ SetULongForPlatform (Convert.ToUInt64 (value));
else if (GType.Is (type, GType.Enum))
g_value_set_enum (ref this, (int)value);
else if (GType.Is (type, GType.Flags))