[gnome-devel-docs] Trimmed trailing whitespace in .vala files.



commit 538de40d7fef18c672b7ba5897bad4c24e0a8bee
Author: Tiffany Antopolski <tiffany antopolski gmail com>
Date:   Fri Jun 22 21:05:02 2012 -0400

    Trimmed trailing whitespace in .vala files.

 platform-demos/C/samples/aboutdialog.vala          |    4 ++--
 platform-demos/C/samples/button.vala               |    2 +-
 platform-demos/C/samples/checkbutton.vala          |    4 ++--
 platform-demos/C/samples/combobox.vala             |    4 ++--
 platform-demos/C/samples/dialog.vala               |    8 ++++----
 platform-demos/C/samples/gmenu.vala                |    2 +-
 platform-demos/C/samples/progressbar.vala          |    2 +-
 platform-demos/C/samples/radiobutton.vala          |    2 +-
 platform-demos/C/samples/spinner.vala              |    2 +-
 platform-demos/C/samples/switch.vala               |    2 +-
 platform-demos/C/samples/togglebutton.vala         |    2 +-
 platform-demos/C/samples/toolbar_builder.vala      |    2 +-
 .../C/samples/treeview_simple_liststore.vala       |    8 ++++----
 platform-demos/C/samples/window.vala               |    2 +-
 14 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/platform-demos/C/samples/aboutdialog.vala b/platform-demos/C/samples/aboutdialog.vala
index d28b974..8fcc6cf 100644
--- a/platform-demos/C/samples/aboutdialog.vala
+++ b/platform-demos/C/samples/aboutdialog.vala
@@ -32,7 +32,7 @@ public class Window : Gtk.ApplicationWindow {
 
 /* This is the Application */
 public class Application : Gtk.Application {
-	
+
 	/* Here we override the activate signal of GLib.Application */
 	protected override void activate () {
 		new Window (this);
@@ -40,7 +40,7 @@ public class Application : Gtk.Application {
 
 	/* Here we override the startup signal of GLib.Application */
 	protected override void startup () {
-		
+
 		base.startup ();
 
 		var menu = new Menu ();
diff --git a/platform-demos/C/samples/button.vala b/platform-demos/C/samples/button.vala
index 7dc4171..fad4abb 100644
--- a/platform-demos/C/samples/button.vala
+++ b/platform-demos/C/samples/button.vala
@@ -29,7 +29,7 @@ public class MyApplication : Gtk.Application {
 	internal MyApplication () {
 		Object (application_id: "org.example.MyApplication");
 	}
-	
+
 	/* Override the activate signal of GLib.Application */
 	protected override void activate () {
 		new MyWindow (this).show ();
diff --git a/platform-demos/C/samples/checkbutton.vala b/platform-demos/C/samples/checkbutton.vala
index 98000de..3653bdc 100644
--- a/platform-demos/C/samples/checkbutton.vala
+++ b/platform-demos/C/samples/checkbutton.vala
@@ -10,7 +10,7 @@ class MyWindow : Gtk.ApplicationWindow {
 
 		var checkbutton = new Gtk.CheckButton.with_label ("Show Title");
 
-		/* Connect the checkbutton to the 
+		/* Connect the checkbutton to the
 		 * callback function (aka. signal handler).
 		 */
 		checkbutton.toggled.connect (this.toggled_cb);
@@ -38,7 +38,7 @@ class MyApplication : Gtk.Application {
 	internal MyApplication () {
 		Object (application_id: "org.example.checkbutton");
 	}
-	
+
 	/* Override the activate signal of GLib.Application */
 	protected override void activate () {
 		new MyWindow (this).show ();
diff --git a/platform-demos/C/samples/combobox.vala b/platform-demos/C/samples/combobox.vala
index 6888850..f182ada 100644
--- a/platform-demos/C/samples/combobox.vala
+++ b/platform-demos/C/samples/combobox.vala
@@ -4,7 +4,7 @@ class MyWindow : Gtk.ApplicationWindow {
 	/* An instance array of linux distributions belonging to this window. */
 	string[] distros = {"Select distribution", "Fedora", "Mint", "Suse"};
 
-	/* This enum makes the code more readable when we refer to 
+	/* This enum makes the code more readable when we refer to
 	 * the column as Column.DISTRO, instead of just 0.
 	 */
 	enum Column {
@@ -35,7 +35,7 @@ class MyWindow : Gtk.ApplicationWindow {
 		/* Set the first item in the list to be selected (active). */
 		combobox.set_active (0);
 
-		/* Connect the 'changed' signal of the combobox 
+		/* Connect the 'changed' signal of the combobox
 		 * to the signal handler (aka. callback function.
 		 */
 		combobox.changed.connect (this.item_changed);
diff --git a/platform-demos/C/samples/dialog.vala b/platform-demos/C/samples/dialog.vala
index 2d6e2c1..fa1dc8c 100644
--- a/platform-demos/C/samples/dialog.vala
+++ b/platform-demos/C/samples/dialog.vala
@@ -7,7 +7,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 
 		this.window_position = Gtk.WindowPosition.CENTER;
 		this.set_default_size (250,50);
-		
+
 		var button = new Gtk.Button.with_label ("Click Me");
 
 		/* Connect the button's "clicked" signal to
@@ -20,7 +20,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 		button.show ();
 	}
 
-	/* The signal handler for the buttons 'clicked' signal. */	
+	/* The signal handler for the buttons 'clicked' signal. */
 	void on_button_click (Gtk.Button button) {
 		var dialog = new Gtk.Dialog.with_buttons ("A Gtk+ Dialog", this,
                                                           Gtk.DialogFlags.MODAL,
@@ -39,7 +39,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 		dialog.response.connect (on_response);
 
 		/* Show the dialog and all the widgets. */
-		dialog.show_all (); 
+		dialog.show_all ();
 	}
 
 	/* Signal handler for the 'response' signal of the dialog. */
@@ -65,7 +65,7 @@ public class MyApplication : Gtk.Application {
 
 	/* Override the 'activate' signal of GLib.Application. */
 	protected override void activate () {
-		
+
 		/* Create a window for the this application and show it. */
 		new MyWindow (this).show ();
 	}
diff --git a/platform-demos/C/samples/gmenu.vala b/platform-demos/C/samples/gmenu.vala
index e23ec88..3d56a03 100644
--- a/platform-demos/C/samples/gmenu.vala
+++ b/platform-demos/C/samples/gmenu.vala
@@ -7,7 +7,7 @@ public class Window : Gtk.ApplicationWindow {
 
 		var about_action = new SimpleAction ("about", null);
 
-		/* Connect the 'activate' signal to the 
+		/* Connect the 'activate' signal to the
 		 * signal handler (aka. callback).
 		 */
 		about_action.activate.connect (this.about_cb);
diff --git a/platform-demos/C/samples/progressbar.vala b/platform-demos/C/samples/progressbar.vala
index ccf3849..86fe853 100644
--- a/platform-demos/C/samples/progressbar.vala
+++ b/platform-demos/C/samples/progressbar.vala
@@ -24,7 +24,7 @@ public class MyApplication : Gtk.Application {
 
 		/* This function is only called by GLib.Timeout.add while it returns true; */
 		if (fraction < 1.0)
-			return true;	
+			return true;
 		return false;
 	}
 }
diff --git a/platform-demos/C/samples/radiobutton.vala b/platform-demos/C/samples/radiobutton.vala
index 25ed9cc..c77a199 100644
--- a/platform-demos/C/samples/radiobutton.vala
+++ b/platform-demos/C/samples/radiobutton.vala
@@ -13,7 +13,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 
 		//Create a RadioButton with a label, and add it to the same group as button1.
 		var button2 = new Gtk.RadioButton.with_label (button1.get_group(),"Button 2");
-		
+
 		//Create a RadioButton with a label, adding it to button1's group.
 		var button3 = new Gtk.RadioButton.with_label_from_widget (button1, "Button 3");
 
diff --git a/platform-demos/C/samples/spinner.vala b/platform-demos/C/samples/spinner.vala
index 7fd727e..7017c6d 100644
--- a/platform-demos/C/samples/spinner.vala
+++ b/platform-demos/C/samples/spinner.vala
@@ -8,7 +8,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 
 		this.set_default_size (200, 200);
 		this.border_width = 30;
-		
+
 		spinner = new Gtk.Spinner ();
 
 		this.add (spinner);
diff --git a/platform-demos/C/samples/switch.vala b/platform-demos/C/samples/switch.vala
index a62cdd2..58f085d 100644
--- a/platform-demos/C/samples/switch.vala
+++ b/platform-demos/C/samples/switch.vala
@@ -31,7 +31,7 @@ class MyWindow : Gtk.ApplicationWindow {
 
 class MyApplication : Gtk.Application {
 	protected override void activate () {
-		
+
 		var window = new MyWindow (this);
 		window.show_all (); //show all the things
 	}
diff --git a/platform-demos/C/samples/togglebutton.vala b/platform-demos/C/samples/togglebutton.vala
index 252c3e2..92048ef 100644
--- a/platform-demos/C/samples/togglebutton.vala
+++ b/platform-demos/C/samples/togglebutton.vala
@@ -16,7 +16,7 @@ public class MyWindow : Gtk.ApplicationWindow {
 		/*ToggleButton*/
 		var togglebutton = new Gtk.ToggleButton.with_label ("Start/Stop");
 		togglebutton.toggled.connect (toggled_cb);
-		
+
 		/*Grid*/
 		var grid = new Gtk.Grid ();
 		grid.set_row_homogeneous (false);
diff --git a/platform-demos/C/samples/toolbar_builder.vala b/platform-demos/C/samples/toolbar_builder.vala
index 1d3d6aa..b23a725 100644
--- a/platform-demos/C/samples/toolbar_builder.vala
+++ b/platform-demos/C/samples/toolbar_builder.vala
@@ -2,7 +2,7 @@
 class MyWindow : Gtk.ApplicationWindow {
 
 	/* Declare these two ToolButtons, as we will get them
-	 * from the ui file (see lines 32 and 33), so we can 
+	 * from the ui file (see lines 32 and 33), so we can
 	 * hide() and show() them as needed.*/
 	Gtk.ToolButton fullscreen_button;
 	Gtk.ToolButton leave_fullscreen_button;
diff --git a/platform-demos/C/samples/treeview_simple_liststore.vala b/platform-demos/C/samples/treeview_simple_liststore.vala
index 7e77895..b0da70d 100644
--- a/platform-demos/C/samples/treeview_simple_liststore.vala
+++ b/platform-demos/C/samples/treeview_simple_liststore.vala
@@ -24,8 +24,8 @@ class TreeViewSimpleListStore : Gtk.ApplicationWindow {
 	};
 
 	enum Column {
-		FIRSTNAME, 
-		LASTNAME, 
+		FIRSTNAME,
+		LASTNAME,
 		PHONE
 	}
 
@@ -38,7 +38,7 @@ class TreeViewSimpleListStore : Gtk.ApplicationWindow {
 		var view = new Gtk.TreeView ();
 		this.setup_treeview (view);
 		view.expand = true;
-		
+
 		label = new Gtk.Label ("");
 
 		var grid = new Gtk.Grid ();
@@ -98,7 +98,7 @@ class TreeViewSimpleListStore : Gtk.ApplicationWindow {
 		string phone;
 
 		if (selection.get_selected (out model, out iter)) {
-			model.get (iter, 
+			model.get (iter,
                                    Column.FIRSTNAME, out name,
                                    Column.LASTNAME, out lastname,
                                    Column.PHONE, out phone);
diff --git a/platform-demos/C/samples/window.vala b/platform-demos/C/samples/window.vala
index 657a919..3669a01 100644
--- a/platform-demos/C/samples/window.vala
+++ b/platform-demos/C/samples/window.vala
@@ -5,7 +5,7 @@ public class Application : Gtk.Application {
 	public Application () {
 		Object (application_id: "org.example.window");
 	}
-	
+
 	/* Override the 'activate' signal of GLib.Application,
 	 * which is inherited by Gtk.Application. */
 	public override void activate () {



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