projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ea09a
)
Bin: Add overloads for Add and Remove
author
Stephan Sundermann
<ssundermann@gnome.org>
Fri, 1 Aug 2014 14:15:04 +0000
(16:15 +0200)
committer
Stephan Sundermann
<ssundermann@gnome.org>
Fri, 1 Aug 2014 14:15:04 +0000
(16:15 +0200)
sources/custom/Bin.cs
patch
|
blob
|
history
diff --git
a/sources/custom/Bin.cs
b/sources/custom/Bin.cs
index e05356c2d88b39760e59d1dfefae87ef337db450..1dadb104fe0f110f224112ae84e6d4552f493413 100644
(file)
--- a/
sources/custom/Bin.cs
+++ b/
sources/custom/Bin.cs
@@
-22,5
+22,17
@@
namespace Gst {
partial class Bin {
public Bin () : this (null) {}
+
+ public void Add (params Element [] elements) {
+ foreach (var elem in elements) {
+ Add (elem);
+ }
+ }
+
+ public void Remove (params Element [] elements) {
+ foreach (var elem in elements) {
+ Remove (elem);
+ }
+ }
}
}