[valencia/wip/724173-gedit] "saved" signal's signature changed



commit 0e2a877b1f84f7f5d1385f2e2398504a59de7e9b
Author: Kyrylo Polezhaiev <polezhaiev ukr net>
Date:   Tue Feb 24 15:45:16 2015 -0800

    "saved" signal's signature changed

 valencia.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/valencia.vala b/valencia.vala
index 7b378fc..ff766a0 100644
--- a/valencia.vala
+++ b/valencia.vala
@@ -656,7 +656,7 @@ public class Instance : Peas.ExtensionBase, Gedit.WindowActivatable {
     }
 
     // TODO: Merge this method with saved_callback, below.
-    static void all_save_callback(Gedit.Document document, void *arg1, Instance instance) {
+    static void all_save_callback(Gedit.Document document, Instance instance) {
         string path = document_filename(document);
         Program.update_any(path, buffer_contents(document));
         instance.symbol_browser.on_document_saved();
@@ -824,7 +824,7 @@ public class Instance : Peas.ExtensionBase, Gedit.WindowActivatable {
             build();
     }
 
-    static void saved_callback(Gedit.Document document, void *arg1, Instance instance) {
+    static void saved_callback(Gedit.Document document, Instance instance) {
         SignalHandler.disconnect_by_func(document, (void *) saved_callback, instance);
         instance.on_saved();
     }


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