[folks] Hold a pointer to delegates; don't copy them.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Hold a pointer to delegates; don't copy them.
- Date: Thu, 25 Aug 2011 22:28:02 +0000 (UTC)
commit f32af263adbe086653700a17806efbad222fbcff
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Aug 25 15:11:59 2011 -0700
Hold a pointer to delegates; don't copy them.
tests/lib/test-case.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/lib/test-case.vala b/tests/lib/test-case.vala
index 9e1c4e9..c59f7a1 100644
--- a/tests/lib/test-case.vala
+++ b/tests/lib/test-case.vala
@@ -59,7 +59,7 @@ public abstract class Folks.TestCase : Object
private class Adaptor
{
public string name { get; private set; }
- private TestMethod _test;
+ private unowned TestMethod _test;
private TestCase _test_case;
public Adaptor (string name, TestMethod test, TestCase test_case)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]