[geary/wip/765516-gtk-widget-conversation-viewer: 111/187] Fix in-window and in-comversation composers not getting cleaned up.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/765516-gtk-widget-conversation-viewer: 111/187] Fix in-window and in-comversation composers not getting cleaned up.
- Date: Sat, 24 Sep 2016 16:15:24 +0000 (UTC)
commit 586545f62bfeabcd7bbec5dea7e9625b1f0a1f21
Author: Michael James Gratton <mike vee net>
Date: Wed Jul 27 23:55:25 2016 +1000
Fix in-window and in-comversation composers not getting cleaned up.
Calling destroy ensures the composer widget cleans up after itself, maybe
because of the signal handlers added in ConversationViewer::do_compose
and ConversationListBox::add_embedded_composer?
src/client/composer/composer-box.vala | 1 +
src/client/composer/composer-embed.vala | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/composer/composer-box.vala b/src/client/composer/composer-box.vala
index 9c18d64..549a35f 100644
--- a/src/client/composer/composer-box.vala
+++ b/src/client/composer/composer-box.vala
@@ -65,6 +65,7 @@ public class ComposerBox : Gtk.Frame, ComposerContainer {
public void close_container() {
if (visible)
vanish();
+ destroy();
}
}
diff --git a/src/client/composer/composer-embed.vala b/src/client/composer/composer-embed.vala
index db690df..95b963d 100644
--- a/src/client/composer/composer-embed.vala
+++ b/src/client/composer/composer-embed.vala
@@ -239,6 +239,6 @@ public class ComposerEmbed : Gtk.EventBox, ComposerContainer {
public void close_container() {
if (visible)
vanish();
+ destroy();
}
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]