[folks/wip/arbitrary-field-interface] Fixed unwanted tabs
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/wip/arbitrary-field-interface] Fixed unwanted tabs
- Date: Wed, 10 Jul 2013 14:52:28 +0000 (UTC)
commit 91983ed6f321a438b7a07a338c8d81769afa0125
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Wed Jul 10 14:12:33 2013 +0200
Fixed unwanted tabs
folks/persona-store.vala | 3 ++-
tests/eds/extended-info.vala | 14 +++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/folks/persona-store.vala b/folks/persona-store.vala
index bad4537..a360dba 100644
--- a/folks/persona-store.vala
+++ b/folks/persona-store.vala
@@ -376,7 +376,8 @@ public abstract class Folks.PersonaStore : Object
"last-im-interaction-datetime",
"call-interaction-count",
"last-call-interaction-datetime",
- "anti-links"
+ "anti-links",
+ "extended-info"
};
/**
diff --git a/tests/eds/extended-info.vala b/tests/eds/extended-info.vala
index 3f880c0..c58cab7 100644
--- a/tests/eds/extended-info.vala
+++ b/tests/eds/extended-info.vala
@@ -50,7 +50,7 @@ public class ExtendedInfoTests : EdsTest.TestCase
v.set_string (this._full_name);
c1.set ("full_name", (owned) v);
v = Value (typeof (string));
- v.set_string ("X-FIELD-1=value1,X-FIELD-2=value2");
+ v.set_string ("X-FIELD-1=value1,X-FIELD-2=value2");
c1.set ("extended_info", (owned) v);
this.eds_backend.add_contact (c1);
@@ -58,9 +58,9 @@ public class ExtendedInfoTests : EdsTest.TestCase
this._found_field_1 = false;
this._found_field_2 = false;
- this._test_extended_info_async.begin ();
+ this._test_extended_info_async.begin ();
- TestUtils.loop_run_with_timeout (this._main_loop);
+ TestUtils.loop_run_with_timeout (this._main_loop);
assert (this._found_field_1 == true);
assert (this._found_field_2 == true);
@@ -112,10 +112,10 @@ public class ExtendedInfoTests : EdsTest.TestCase
assert (i == null);
}
- if (this._found_field_1 == true &&
- this._found_field_2 == true)
+ if (this._found_field_1 == true &&
+ this._found_field_2 == true)
this._main_loop.quit ();
- }
+ }
}
public int main (string[] args)
@@ -128,4 +128,4 @@ public int main (string[] args)
tests.final_tear_down ();
return 0;
-}
\ No newline at end of file
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]