[glom/gtkmm4: 1/9] Use the newer sigc::bind() syntax.



commit f68084d39330f83f708bd125321bd0bc88dddc53
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Dec 16 16:41:28 2016 +0100

    Use the newer sigc::bind() syntax.

 glom/application.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/application.cc b/glom/application.cc
index 5be747f..f8795a5 100644
--- a/glom/application.cc
+++ b/glom/application.cc
@@ -58,7 +58,7 @@ void Application::create_window(const Glib::RefPtr<Gio::File>& file)
   add_window(*window);
 
   //Delete the window when it is hidden:
-  window->signal_hide().connect(sigc::bind<Gtk::Window*>(sigc::mem_fun(*this,
+  window->signal_hide().connect(sigc::bind(sigc::mem_fun(*this,
     &Application::on_window_hide), window));
 
   Glib::ustring input_uri;


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