[smuxi/stable] Frontend-GNOME: fixed leaking PersonTags in MessageTextView (refs: #667)



commit f8f61d8e3ec389106533dc7c77232e7268caf9ec
Author: Mirco Bauer <meebey meebey net>
Date:   Sun Jan 12 08:23:00 2014 +0100

    Frontend-GNOME: fixed leaking PersonTags in MessageTextView (refs: #667)

 src/Frontend-GNOME/Views/MessageTextView.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/Views/MessageTextView.cs b/src/Frontend-GNOME/Views/MessageTextView.cs
index 7c48961..b3ee0e9 100644
--- a/src/Frontend-GNOME/Views/MessageTextView.cs
+++ b/src/Frontend-GNOME/Views/MessageTextView.cs
@@ -789,7 +789,7 @@ namespace Smuxi.Frontend.Gnome
                          tagName.StartsWith("bg_color:"))) {
                         continue;
                     }
-                    if (tag.IndentSet || tag is LinkTag) {
+                    if (tag.IndentSet || tag is LinkTag || tag is PersonTag) {
                         buffer.RemoveTag(tag, start_iter, end_iter);
                         _MessageTextTagTable.Remove(tag);
                         tag.Dispose();


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