[tasque] Remove unused OpenUrl function



commit 80ae56d58f4af565e2201df65f01ed65858dfe4e
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sun Dec 2 12:57:20 2012 +0100

    Remove unused OpenUrl function

 src/Gtk.Tasque/GtkApplicationBase.cs |    9 ---------
 src/libtasque/INativeApplication.cs  |    1 -
 src/libtasque/NativeApplication.cs   |    5 -----
 3 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/Gtk.Tasque/GtkApplicationBase.cs b/src/Gtk.Tasque/GtkApplicationBase.cs
index 10d829e..af01121 100644
--- a/src/Gtk.Tasque/GtkApplicationBase.cs
+++ b/src/Gtk.Tasque/GtkApplicationBase.cs
@@ -172,15 +172,6 @@ namespace Tasque
 			
 			base.OnQuitting ();
 		}
-
-		public override void OpenUrl (string url)
-		{
-			try {
-				Process.Start (url);
-			} catch (Exception e) {
-				Trace.TraceError ("Error opening url [{0}]:\n{1}", url, e.ToString ());
-			}
-		}
 		
 		protected override void ShowMainWindow ()
 		{
diff --git a/src/libtasque/INativeApplication.cs b/src/libtasque/INativeApplication.cs
index 5ef68c2..89f1be3 100644
--- a/src/libtasque/INativeApplication.cs
+++ b/src/libtasque/INativeApplication.cs
@@ -16,7 +16,6 @@ namespace Tasque
 		void Exit (int exitcode);
 		void Quit ();
 		void Initialize (string [] args);
-		void OpenUrl (string url);
 		void QuitMainLoop ();
 		void ShowPreferences ();
 		void StartMainLoop ();
diff --git a/src/libtasque/NativeApplication.cs b/src/libtasque/NativeApplication.cs
index 1ce611c..f935512 100644
--- a/src/libtasque/NativeApplication.cs
+++ b/src/libtasque/NativeApplication.cs
@@ -132,11 +132,6 @@ namespace Tasque
 		
 		protected virtual void OnQuitting () {}
 		#endregion
-
-		public virtual void OpenUrl (string url)
-		{
-			Process.Start (url);
-		}
 		
 		#region Backend
 		public IList<IBackend> AvailableBackends {



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