[gnote] Note is now trackable. Should avoid a crash related to signals. (Closes #581618)



commit f41776acb153bb10be94471d97201f822ca055ae
Author: Hubert Figuiere <hub figuiere net>
Date:   Thu May 7 01:10:09 2009 -0400

    Note is now trackable. Should avoid a crash related to signals. (Closes #581618)
---
 NEWS         |    5 +++++
 src/note.hpp |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 3e09de5..46b9a5e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
 0.3.2 -
 
+Fixes:
+
+  * Note is now trackable. Should avoid a crash related to signals.
+    (Closes #581618)
+
 Translations:
 
   * Updated translations:
diff --git a/src/note.hpp b/src/note.hpp
index e026066..b9d10d5 100644
--- a/src/note.hpp
+++ b/src/note.hpp
@@ -109,6 +109,7 @@ private:
 
 class Note 
   : public std::tr1::enable_shared_from_this<Note>
+  , public sigc::trackable
 {
 public:
   typedef std::tr1::shared_ptr<Note> Ptr;



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