[glom/gtkmm4v4] gtkmm4: tests: Adapt to new sigc::slot syntax.



commit daff61abea55654c01649df6c9fb45f2108e492a
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Apr 15 21:36:13 2017 +0200

    gtkmm4: tests: Adapt to new sigc::slot syntax.

 tests/test_selfhosting_utils.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_selfhosting_utils.h b/tests/test_selfhosting_utils.h
index 1f7627c..adc6803 100644
--- a/tests/test_selfhosting_utils.h
+++ b/tests/test_selfhosting_utils.h
@@ -95,7 +95,7 @@ void test_selfhosting_cleanup(bool delete_file = true);
 
 bool test_example_musiccollection_data(const std::shared_ptr<const Glom::Document>& document);
 
-typedef sigc::slot<bool, Glom::Document::HostingMode> SlotTest;
+typedef sigc::slot<bool(Glom::Document::HostingMode)> SlotTest;
 
 /** Call the test @a slot with various hosting modes.
  * @result A result code for main().


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