[ekiga/ds-gtk-application] ContactActor: Call add_action method of parent in add_action.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] ContactActor: Call add_action method of parent in add_action.
- Date: Sun, 30 Mar 2014 17:50:03 +0000 (UTC)
commit 17802cb9e723b9090d5c9fcabbd57c6d82c047ae
Author: Damien Sandras <dsandras beip be>
Date: Sun Mar 30 19:40:46 2014 +0200
ContactActor: Call add_action method of parent in add_action.
This prevents code duplication between ContactActor and Actor objects.
lib/engine/addressbook/contact-actor.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/addressbook/contact-actor.cpp b/lib/engine/addressbook/contact-actor.cpp
index 31d6a2e..e4e90a0 100644
--- a/lib/engine/addressbook/contact-actor.cpp
+++ b/lib/engine/addressbook/contact-actor.cpp
@@ -43,7 +43,7 @@ using namespace Ekiga;
void
ContactActor::add_action (ActionPtr action)
{
- actions.insert (std::make_pair (action->get_name (), action));
+ Actor::add_action (action);
ContactActionPtr a = boost::dynamic_pointer_cast<ContactAction> (action);
if (a != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]