[glom] Use latest Glib::SignalProxy syntax.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Use latest Glib::SignalProxy syntax.
- Date: Sun, 18 Dec 2016 11:38:40 +0000 (UTC)
commit 6b38d4ab99102c5c67b095f7ef67053bb75e08a6
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Dec 18 12:12:04 2016 +0100
Use latest Glib::SignalProxy syntax.
.../eggspreadtablemm/eggspreadtabledndmm.cc | 4 ++--
.../eggspreadtablemm/eggspreadtabledndmm.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc
b/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc
index 7613b2e..7160911 100644
--- a/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc
+++ b/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc
@@ -297,9 +297,9 @@ bool SpreadTableDnd::on_widget_drop_possible(Gtk::Widget* widget, bool& drop_pos
return false;
}
-Glib::SignalProxy2< bool, Gtk::Widget*, bool& > SpreadTableDnd::signal_widget_drop_possible()
+Glib::SignalProxy<bool(Gtk::Widget*, bool&)> SpreadTableDnd::signal_widget_drop_possible()
{
- return Glib::SignalProxy2< bool, Gtk::Widget*, bool& >(this,
&SpreadTableDnd_signal_widget_drop_possible_info);
+ return Glib::SignalProxy<bool(Gtk::Widget*, bool&)>(this,
&SpreadTableDnd_signal_widget_drop_possible_info);
}
} // namespace Egg
diff --git a/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.h
b/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.h
index 6ce031d..c33b2a1 100644
--- a/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.h
+++ b/glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.h
@@ -106,7 +106,7 @@ public:
* <tt>void on_my_%widget_drop_possible()</tt>
*/
- Glib::SignalProxy<bool(Gtk::Widget*, bool)> signal_widget_drop_possible();
+ Glib::SignalProxy<bool(Gtk::Widget*, bool&)> signal_widget_drop_possible();
};
} // namespace Egg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]