=?utf-8?q?=5Bfolks=5D_Bug_690989_=E2=80=94_=22warning=3A_copying_delegate?= =?utf-8?q?s_is_discouraged=22?=
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Bug 690989 â "warning: copying delegates is discouraged"
- Date: Wed, 2 Jan 2013 16:02:10 +0000 (UTC)
commit 9ddf50ae8b3042cea6fb7d060c16e68231783c07
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Jan 2 15:35:02 2013 +0000
Bug 690989 â "warning: copying delegates is discouraged"
Fix a warning introduced by commit 7088fbafafd3e75f02266aa8b093d69660311b36.
Whoops.
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=690989
NEWS | 1 +
backends/telepathy/lib/tpf-logger.vala | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 058f716..e30233d 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Bugs fixed:
â Bug 677633 â Cannot delete favourite
â Bug 685992 â empathy strips the "+" (plus) from the numbers from the
gnome-contacts
+â Bug 690989 â "warning: copying delegates is discouraged"
API changes:
â Add Backend.enable_persona_store and disable_persona_store.
diff --git a/backends/telepathy/lib/tpf-logger.vala b/backends/telepathy/lib/tpf-logger.vala
index c4f450b..8caf065 100644
--- a/backends/telepathy/lib/tpf-logger.vala
+++ b/backends/telepathy/lib/tpf-logger.vala
@@ -109,7 +109,7 @@ internal class Logger : GLib.Object
/* Wake up any waiters. */
foreach (unowned DelegateWrapper wrapper in Logger._prepare_waiters)
{
- Idle.add (wrapper.cb);
+ Idle.add ((owned) wrapper.cb);
}
Logger._prepare_waiters = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]