[gnome-games] ui: Remove unused 'connection' prop in Application
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Remove unused 'connection' prop in Application
- Date: Tue, 16 Aug 2016 14:23:12 +0000 (UTC)
commit 466507551be7ca67fbdc331c7a5fa826035eec2f
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Aug 16 08:04:16 2016 +0200
ui: Remove unused 'connection' prop in Application
https://bugzilla.gnome.org/show_bug.cgi?id=769963
src/ui/application.vala | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index dc907a4..712057b 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -4,24 +4,6 @@ private extern const string VERSION;
public class Games.Application : Gtk.Application {
private ListStore collection;
-
- private Tracker.Sparql.Connection? _connection;
- private Tracker.Sparql.Connection? connection {
- get {
- if (_connection != null)
- return _connection;
-
- try {
- _connection = Tracker.Sparql.Connection.@get ();
- }
- catch (Error e) {
- warning ("Error: %s\n", e.message);
- }
-
- return _connection;
- }
- }
-
private ApplicationWindow window;
internal Application () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]