[ekiga] Made the call window disconnect the connections it stored... since it did it precisely for that purp
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Made the call window disconnect the connections it stored... since it did it precisely for that purp
- Date: Tue, 15 Jan 2013 10:10:30 +0000 (UTC)
commit a392ddd65fa52be3d7e79d48e20b016400c41685
Author: Julien Puydt <jpuydt free fr>
Date: Tue Jan 15 11:10:21 2013 +0100
Made the call window disconnect the connections it stored... since it did it precisely for that purpose
lib/engine/gui/gtk-frontend/call-window.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index 49d8e30..dcf7096 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -2573,6 +2573,12 @@ ekiga_call_window_constructor (GType the_type,
static void
ekiga_call_window_dispose (GObject* gobject)
{
+ for(std::vector<boost::connection>::iterator = cw->priv->connections.begin();
+ iter != cw->priv->connections.end();
+ ++iter)
+ iter->disconnect();
+ cw->priv->connections.clear ();
+
G_OBJECT_CLASS (ekiga_call_window_parent_class)->dispose (gobject);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]