[gitg] Do not proxy unused callbacks as signals on remote



commit a2480f2074c1af407fa4d50dd613bb438f523e8b
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Fri Jul 31 08:08:16 2015 +0200

    Do not proxy unused callbacks as signals on remote

 libgitg/gitg-remote.vala |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libgitg/gitg-remote.vala b/libgitg/gitg-remote.vala
index 000d59a..50e176e 100644
--- a/libgitg/gitg-remote.vala
+++ b/libgitg/gitg-remote.vala
@@ -60,8 +60,6 @@ public class Remote : Ggit.Remote
 
                protected override void progress(string message)
                {
-                       d_remote.progress(message);
-
                        if (d_proxy != null)
                        {
                                d_proxy.progress(message);
@@ -93,8 +91,6 @@ public class Remote : Ggit.Remote
 
                protected override void completion(Ggit.RemoteCompletionType type)
                {
-                       d_remote.completion(type);
-
                        if (d_proxy != null)
                        {
                                d_proxy.completion(type);
@@ -128,9 +124,7 @@ public class Remote : Ggit.Remote
        private uint d_reset_transfer_progress_timeout;
        private double d_transfer_progress;
 
-       public signal void progress(string message);
        public signal void tip_updated(string refname, Ggit.OId a, Ggit.OId b);
-       public signal void completion(Ggit.RemoteCompletionType type);
 
        public override void dispose()
        {


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