[uniquemm] fix unique-inherit example.
- From: Fabien Parent <fparent src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [uniquemm] fix unique-inherit example.
- Date: Tue, 27 Apr 2010 19:32:47 +0000 (UTC)
commit 51a885cbe793dd335cbff24d527f9edf482505dc
Author: Fabien Parent <parent f gmail com>
Date: Tue Apr 27 21:32:36 2010 +0200
fix unique-inherit example.
examples/unique-inherit.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/examples/unique-inherit.cc b/examples/unique-inherit.cc
index ce95e34..61dfd6d 100644
--- a/examples/unique-inherit.cc
+++ b/examples/unique-inherit.cc
@@ -43,6 +43,8 @@ public:
{
add_command("foo", MyApp::COMMAND_FOO);
add_command("bar", MyApp::COMMAND_BAR);
+
+ signal_message_received().connect(sigc::mem_fun(*this, &MyApp::on_message_received), false);
}
bool parse_cmd_line(int& argc, char**& argv)
@@ -131,7 +133,7 @@ public:
}
protected:
- virtual Unique::Response on_message_received(int command, Unique::MessageData message_data, guint time)
+ Unique::Response on_message_received(int command, Unique::MessageData message_data, guint time)
{
Glib::ustring title;
Glib::ustring message;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]