[gnote] Fix tests



commit 93d29902f9d14f2a0c3f7e70103f9cbfca16a173
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Sep 21 17:57:01 2019 +0300

    Fix tests

 src/test/testsyncaddin.cpp | 5 +++--
 src/test/testsyncaddin.hpp | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/test/testsyncaddin.cpp b/src/test/testsyncaddin.cpp
index b763e71a..40879111 100644
--- a/src/test/testsyncaddin.cpp
+++ b/src/test/testsyncaddin.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2017-2018 Aurimas Cernius
+ * Copyright (C) 2017-2019 Aurimas Cernius
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,8 +43,9 @@ Gtk::Widget *SyncAddin::create_preferences_control(EventHandler /*requiredPrefCh
   return NULL;
 }
 
-bool SyncAddin::save_configuration()
+bool SyncAddin::save_configuration(const sigc::slot<void, bool, Glib::ustring> & on_saved)
 {
+  on_saved(true, "");
   return true;
 }
 
diff --git a/src/test/testsyncaddin.hpp b/src/test/testsyncaddin.hpp
index 860adee4..69dc30e5 100644
--- a/src/test/testsyncaddin.hpp
+++ b/src/test/testsyncaddin.hpp
@@ -35,7 +35,7 @@ public:
   virtual gnote::sync::SyncServer::Ptr create_sync_server() override;
   virtual void post_sync_cleanup() override;
   virtual Gtk::Widget *create_preferences_control(EventHandler requiredPrefChanged) override;
-  virtual bool save_configuration() override;
+  virtual bool save_configuration(const sigc::slot<void, bool, Glib::ustring> & on_saved) override;
   virtual void reset_configuration() override;
   virtual bool is_configured() override;
   virtual Glib::ustring name() override;


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