[gnome-games/wip/exalm/cache2: 8/27] developer: Drop changed() signal



commit 92691c581686f05e5f00cea0f64d6b71d65ee66f
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Oct 1 16:53:52 2018 +0500

    developer: Drop changed() signal
    
    It's not used anymore, so remove it.

 src/core/developer.vala              | 2 --
 src/database/database-developer.vala | 2 --
 src/grilo/grilo-developer.vala       | 2 --
 3 files changed, 6 deletions(-)
---
diff --git a/src/core/developer.vala b/src/core/developer.vala
index c86c4e18..771fa30c 100644
--- a/src/core/developer.vala
+++ b/src/core/developer.vala
@@ -1,8 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 public interface Games.Developer : Object {
-       public signal void changed ();
-
        public abstract bool has_loaded { get; protected set; }
 
        public abstract string get_developer ();
diff --git a/src/database/database-developer.vala b/src/database/database-developer.vala
index 3affeebc..92868cea 100644
--- a/src/database/database-developer.vala
+++ b/src/database/database-developer.vala
@@ -21,8 +21,6 @@ private class Games.DatabaseDeveloper : Object, Developer {
                this.developer = developer;
                this.uid = uid;
 
-               developer.changed.connect (() => changed ());
-
                try {
                        load_statement = Database.prepare (database, LOAD_DEVELOPER_QUERY);
                        save_statement = Database.prepare (database, SAVE_DEVELOPER_QUERY);
diff --git a/src/grilo/grilo-developer.vala b/src/grilo/grilo-developer.vala
index 8b056a92..7412fe77 100644
--- a/src/grilo/grilo-developer.vala
+++ b/src/grilo/grilo-developer.vala
@@ -42,7 +42,5 @@ public class Games.GriloDeveloper : Object, Developer {
        private void load_media_developer (string developer_string) {
                developer = developer_string;
                has_loaded = true;
-
-               changed ();
        }
 }


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