[ease/bindings] [bindings] Bindings namespace -> Binding



commit 9fbe19f813821233e57a22916a191a7dca8bfb37
Author: Nate Stedman <natesm gmail com>
Date:   Fri Aug 20 21:24:14 2010 -0400

    [bindings] Bindings namespace -> Binding

 ease-bindings/bindings-test.vala |    4 ++--
 ease-bindings/bindings.vala      |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ease-bindings/bindings-test.vala b/ease-bindings/bindings-test.vala
index cc0a602..3daa811 100644
--- a/ease-bindings/bindings-test.vala
+++ b/ease-bindings/bindings-test.vala
@@ -24,12 +24,12 @@ public int main(string[] args)
 	var spin = new Gtk.SpinButton.with_range(0, 10, 0.1);
 	
 	// bind the scale and spin buttons together
-	Bindings.connect(spin, "value", scale.adjustment, "value");
+	Binding.connect(spin, "value", scale.adjustment, "value");
 	
 	// create a button to drop the binding
 	var button = new Gtk.Button.with_label("Drop Binding");
 	button.clicked.connect(() => {
-		Bindings.drop(spin, "value", scale.adjustment, "value");
+		Binding.drop(spin, "value", scale.adjustment, "value");
 	});
 	
 	// place in a window
diff --git a/ease-bindings/bindings.vala b/ease-bindings/bindings.vala
index 32ee486..ced14b5 100644
--- a/ease-bindings/bindings.vala
+++ b/ease-bindings/bindings.vala
@@ -19,7 +19,7 @@
  * Provides functions for simply synchonizing GObject properties of different
  * instances.
  */
-namespace Bindings
+namespace Binding
 {
 	private Gee.LinkedList<Binding> bindings()
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]