diff --git a/sources/custom/Object.cs b/sources/custom/Object.cs index a9ddaa682b..283d41bfec 100644 --- a/sources/custom/Object.cs +++ b/sources/custom/Object.cs @@ -53,7 +53,7 @@ namespace Gst { throw new PropertyNotFoundException (); } set { if (PropertyExists (property)) { - using (GLib.Value v = new GLib.Value (this, property)) { + using (GLib.Value v = new GLib.Value ((GLib.GType)value.GetType ())) { v.Val = value; SetProperty (property, v); }