[gtkmm] Use SignalProxy<> instead of SignalProxy1.



commit 9b7a3d938df8540b4bf6f2c5cdb987a06ad93bb4
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Nov 11 13:50:59 2016 +0100

    Use SignalProxy<> instead of SignalProxy1.

 gtk/src/entrycompletion.ccg |    8 ++++----
 gtk/src/entrycompletion.hg  |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/entrycompletion.ccg b/gtk/src/entrycompletion.ccg
index 892bde8..7c7260e 100644
--- a/gtk/src/entrycompletion.ccg
+++ b/gtk/src/entrycompletion.ccg
@@ -288,14 +288,14 @@ gboolean EntryCompletion_Class::match_selected_callback_custom(GtkEntryCompletio
   return RType();
 }
 
-Glib::SignalProxy1< bool, const TreeModel::iterator& > EntryCompletion::signal_match_selected()
+Glib::SignalProxy<bool(const TreeModel::iterator&)> EntryCompletion::signal_match_selected()
 {
-  return Glib::SignalProxy1< bool, const TreeModel::iterator& >(this, 
&EntryCompletion_signal_match_selected_info);
+  return Glib::SignalProxy<bool(const TreeModel::iterator&)>(this, 
&EntryCompletion_signal_match_selected_info);
 }
 
-Glib::SignalProxy1< bool, const TreeModel::iterator& > EntryCompletion::signal_cursor_on_match()
+Glib::SignalProxy<bool(const TreeModel::iterator&)> EntryCompletion::signal_cursor_on_match()
 {
-  return Glib::SignalProxy1< bool, const TreeModel::iterator& >(this, 
&EntryCompletion_signal_cursor_on_match_info);
+  return Glib::SignalProxy<bool(const TreeModel::iterator&)>(this, 
&EntryCompletion_signal_cursor_on_match_info);
 }
 
 
diff --git a/gtk/src/entrycompletion.hg b/gtk/src/entrycompletion.hg
index 49b1a0f..41fd6e8 100644
--- a/gtk/src/entrycompletion.hg
+++ b/gtk/src/entrycompletion.hg
@@ -162,7 +162,7 @@ public:
    * @par Prototype:
    * <tt>bool %on_match_selected(const TreeModel::iterator& iter)</tt>
    */
-  Glib::SignalProxy1< bool, const TreeModel::iterator& > signal_match_selected();
+  Glib::SignalProxy<bool(const TreeModel::iterator&)> signal_match_selected();
 
   /** Emitted when a match from the cursor is on a match
    * of the list. The default behaviour is to replace the contents
@@ -178,7 +178,7 @@ public:
    *
    * @newin{2,12}
    */
-  Glib::SignalProxy1< bool, const TreeModel::iterator& > signal_cursor_on_match();
+  Glib::SignalProxy<bool(const TreeModel::iterator&)> signal_cursor_on_match();
 
 
   #m4begin


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