[tasque/transition: 179/213] [libtasque] Make Application publicly accessible
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 179/213] [libtasque] Make Application publicly accessible
- Date: Wed, 29 Aug 2012 18:49:04 +0000 (UTC)
commit a089fdac0f0bf502400ddf39af9e64fdd4b7c564
Author: Antonius Riha <antoniusriha gmail com>
Date: Sun Aug 19 00:37:33 2012 +0200
[libtasque] Make Application publicly accessible
src/Tasque.Gtk/GtkApplication.cs | 2 +-
src/libtasque/Application.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Tasque.Gtk/GtkApplication.cs b/src/Tasque.Gtk/GtkApplication.cs
index 6db3738..1c4194b 100644
--- a/src/Tasque.Gtk/GtkApplication.cs
+++ b/src/Tasque.Gtk/GtkApplication.cs
@@ -36,7 +36,7 @@ namespace Tasque
{
public abstract class GtkApplication : Application
{
- public static GtkApplication Instance {
+ public new static GtkApplication Instance {
get {
if (instance == null)
throw new InvalidOperationException ("No instance has been created yet.");
diff --git a/src/libtasque/Application.cs b/src/libtasque/Application.cs
index 8b1d406..50675a6 100644
--- a/src/libtasque/Application.cs
+++ b/src/libtasque/Application.cs
@@ -34,7 +34,7 @@ namespace Tasque
{
public abstract class Application : IDisposable
{
- internal static Application Instance { get; private set; }
+ public static Application Instance { get; private set; }
protected Application () : this (Path.Combine (Environment.GetFolderPath (
Environment.SpecialFolder.ApplicationData), "tasque")) {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]