gnome-subtitles r1125 - trunk/src/GnomeSubtitles/Execution



Author: pcastro
Date: Sun Mar  8 20:26:39 2009
New Revision: 1125
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=1125&view=rev

Log:
Code cleanup.

Modified:
   trunk/src/GnomeSubtitles/Execution/Executable.cs

Modified: trunk/src/GnomeSubtitles/Execution/Executable.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Execution/Executable.cs	(original)
+++ trunk/src/GnomeSubtitles/Execution/Executable.cs	Sun Mar  8 20:26:39 2009
@@ -1,6 +1,6 @@
 /*
  * This file is part of Gnome Subtitles.
- * Copyright (C) 2006-2008 Pedro Castro
+ * Copyright (C) 2006-2009 Pedro Castro
  *
  * Gnome Subtitles is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,7 +32,8 @@
 	[DllImport("libc")]
 	private static extern void setproctitle(byte [] fmt, byte [] str_arg); //Used in BSD's
 
-	#region Public methods
+
+	/* Public members */
 
 	public static bool SetProcessNamePrctl (string name) {
 		try {
@@ -73,9 +74,7 @@
 		Base.Run(executionContext);
 	}
 	
-	#endregion
-	
-	#region Private members
+	/* Private members */
 
 	/// <summary>Kills the window in the most quick and unfriendly way.</summary>
 	private static void Kill () {
@@ -87,9 +86,8 @@
 		}
 	}
 
-	#endregion
 	
-	#region Events
+	/* Event members */
 	
 	private static void OnUnhandledException (UnhandledExceptionArgs args) {
 		if (args.ExceptionObject is Exception)
@@ -97,8 +95,6 @@
 
 		Kill();
 	}
-	
-	#endregion
 
 }
 



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