[gnome-chess/chess-telepathy-networking-support-664946-communicate: 2/15] Don't initialize Application on startup of HandlerApplication
- From: Chandni Verma <vchandni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/chess-telepathy-networking-support-664946-communicate: 2/15] Don't initialize Application on startup of HandlerApplication
- Date: Sun, 16 Jun 2013 15:51:08 +0000 (UTC)
commit d92d6d5ae75c4e1eb0f4cfe1e1824c03a59c9ab6
Author: Chandni Verma <chandniverma2112 gmail com>
Date: Sun Dec 23 18:28:47 2012 +0530
Don't initialize Application on startup of HandlerApplication
src/gnome-chess-application.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess-application.vala b/src/gnome-chess-application.vala
index aec0658..1bca9dc 100644
--- a/src/gnome-chess-application.vala
+++ b/src/gnome-chess-application.vala
@@ -64,6 +64,9 @@ public class Application : Gtk.Application
{
base.startup ();
+ if (this is HandlerApplication)
+ return;
+
settings = new Settings ("org.gnome.gnome-chess");
settings_common = new Settings ("org.gnome.gnome-chess.games-common");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]