TagList: Removed weird Add overload
authorStephan Sundermann <stephansundermann@gmail.com>
Fri, 11 Oct 2013 10:21:42 +0000 (12:21 +0200)
committerStephan Sundermann <stephansundermann@gmail.com>
Sat, 21 Dec 2013 15:52:22 +0000 (16:52 +0100)
sources/custom/TagList.cs

index 364cc5a86d568323e52a0670d12fc55959a045ce..326b5e2e38d24428f23c55828129ca7c2dc3fa28 100644 (file)
@@ -83,19 +83,6 @@ namespace Gst
                        GLib.Marshaller.Free (raw_string);
                }
 
-               public void Add (Gst.TagMergeMode mode, params object[] parameters)
-               {
-                       if (parameters.Length % 2 != 0)
-                               throw new ArgumentException ();
-
-                       for (int i = 0; i < parameters.Length; i += 2) {
-                               if (parameters [i].GetType () != typeof(string))
-                                       throw new ArgumentException ();
-
-                               Add (mode, parameters [i] as string, parameters [i + 1]);
-                       }
-               }
-
                [DllImport("libgstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
                static extern IntPtr gst_structure_nth_field_name (IntPtr raw, uint index);