[ekiga/ds-gtk-application] ContactAction: Initialize action data in constructor.



commit a541149a89df60c14172e3af70b3fb1d896c41aa
Author: Damien Sandras <dsandras beip be>
Date:   Sun Mar 23 17:14:44 2014 +0100

    ContactAction: Initialize action data in constructor.

 lib/engine/addressbook/contact-action.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/addressbook/contact-action.cpp b/lib/engine/addressbook/contact-action.cpp
index cc05069..400b839 100644
--- a/lib/engine/addressbook/contact-action.cpp
+++ b/lib/engine/addressbook/contact-action.cpp
@@ -48,6 +48,9 @@ ContactAction::ContactAction (const std::string & _name,
 {
   callback = _callback;
   tester = _tester;
+
+  /* ContactAction objects should be disabled until data is set */
+  set_data ();
 }
 
 


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