[ekiga/ds-gtk-application] Fixed compilation.



commit 986b6e881c4708c1da32880e3dedfad191b70895
Author: Damien Sandras <dsandras beip be>
Date:   Tue Mar 4 20:22:43 2014 +0100

    Fixed compilation.

 .../components/call-history/history-book.cpp       |    8 ++++----
 lib/engine/components/opal/sip-endpoint.cpp        |    3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/lib/engine/components/call-history/history-book.cpp 
b/lib/engine/components/call-history/history-book.cpp
index a6a086c..6640d8f 100644
--- a/lib/engine/components/call-history/history-book.cpp
+++ b/lib/engine/components/call-history/history-book.cpp
@@ -110,10 +110,10 @@ void
 History::Book::register_actions ()
 {
   /* Add Actor actions */
-  add_action (ActionPtr (new Ekiga::Action ("history_book_clear",
-                                            _("Clear History"),
-                                            boost::bind (&History::Book::clear,
-                                                         this))));
+  add_action (Ekiga::ActionPtr (new Ekiga::Action ("history_book_clear",
+                                                   _("Clear History"),
+                                                   boost::bind (&History::Book::clear,
+                                                                this))));
 }
 
 void
diff --git a/lib/engine/components/opal/sip-endpoint.cpp b/lib/engine/components/opal/sip-endpoint.cpp
index f2589fb..a58a833 100644
--- a/lib/engine/components/opal/sip-endpoint.cpp
+++ b/lib/engine/components/opal/sip-endpoint.cpp
@@ -183,6 +183,7 @@ Opal::Sip::EndPoint::populate_menu (const std::string& fullname,
                                    const std::string& uri,
                                    Ekiga::MenuBuilder& builder)
 {
+  /*
   if (0 == GetConnectionCount ())
     builder.add_action ("phone-pick-up", _("Call"),
                         boost::bind (&Opal::Sip::EndPoint::on_dial, this, uri));
@@ -191,7 +192,7 @@ Opal::Sip::EndPoint::populate_menu (const std::string& fullname,
                         boost::bind (&Opal::Sip::EndPoint::on_transfer, this, uri));
   builder.add_action ("im-message-new", _("Message"),
                       boost::bind (&Opal::Sip::EndPoint::on_message, this, uri, fullname));
-
+*/
   return true;
 }
 


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