[folks/wip/nielsdg/ci-style-check: 2/3] Get rid of all remaining trailing whitespace
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks/wip/nielsdg/ci-style-check: 2/3] Get rid of all remaining trailing whitespace
- Date: Sat, 5 Dec 2020 12:54:08 +0000 (UTC)
commit c30b0224def9089253b9bf4a0e32e65397653fc8
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sat Dec 5 13:53:02 2020 +0100
Get rid of all remaining trailing whitespace
We're going to start checking for (accidental) trailing whitespace in
our CI, which is a lot easier if there are no occurrences of that in the
first place.
backends/eds/eds-backend.vala | 20 +++++++++---------
backends/key-file/kf-backend.vala | 26 ++++++++++++------------
backends/key-file/kf-persona-store.vala | 2 +-
backends/ofono/ofono-backend.vala | 28 +++++++++++++-------------
backends/ofono/ofono-persona-store.vala | 10 ++++-----
backends/ofono/ofono-persona.vala | 14 ++++++-------
backends/ofono/org-ofono.vala | 8 ++++----
backends/telepathy/tp-backend.vala | 22 ++++++++++----------
backends/tracker/lib/trf-persona-store.vala | 2 +-
folks/anti-linkable.vala | 2 +-
folks/individual-aggregator.vala | 4 ++--
folks/role-details.vala | 2 +-
tests/eds/create-remove-stores.vala | 16 +++++++--------
tests/eds/enable-disable-stores.vala | 6 +++---
tests/eds/set-properties.vala | 2 +-
tests/eds/updating-phones.vala | 2 +-
tests/folks/async-locking.vala | 2 +-
tests/lib/gtestdbus.c | 2 +-
tests/tracker/link-personas-via-local-ids.vala | 2 +-
tests/tracker/link-personas.vala | 4 ++--
tools/inspect/command-set.vala | 6 +++---
tools/inspect/inspect.vala | 2 +-
22 files changed, 92 insertions(+), 92 deletions(-)
---
diff --git a/backends/eds/eds-backend.vala b/backends/eds/eds-backend.vala
index 4f0d2e05..5f2c632e 100644
--- a/backends/eds/eds-backend.vala
+++ b/backends/eds/eds-backend.vala
@@ -83,27 +83,27 @@ public class Folks.Backends.Eds.Backend : Folks.Backend
this._add_persona_store (store);
}
}
-
+
private void _add_persona_store (PersonaStore store, bool notify = true)
{
store.removed.connect (this._store_removed_cb);
-
+
this._persona_stores.set (store.id, store);
-
+
this.persona_store_added (store);
if (notify)
{
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
*/
public override void set_persona_stores (Set<string>? storeids)
{
this._storeids = storeids;
-
+
/* If the set is empty, load all unloaded stores then return. */
if (storeids == null)
{
@@ -118,17 +118,17 @@ public class Folks.Backends.Eds.Backend : Folks.Backend
if (this._persona_stores.has_key (id) == false)
{
E.Source? s = this._ab_sources.ref_source (id);
-
+
if (s == null)
{
warning ("Unable to reference EDS source with ID %s", id);
continue;
}
- var store =
+ var store =
new Edsf.PersonaStore.with_source_registry (this._ab_sources, s);
this._add_persona_store (store, false);
-
+
stores_changed = true;
}
}
@@ -151,7 +151,7 @@ public class Folks.Backends.Eds.Backend : Folks.Backend
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -305,7 +305,7 @@ public class Folks.Backends.Eds.Backend : Folks.Backend
{
continue;
}
-
+
if (this._storeids != null &&
!(uid in this._storeids))
{
diff --git a/backends/key-file/kf-backend.vala b/backends/key-file/kf-backend.vala
index 52d94de6..79ac5eda 100644
--- a/backends/key-file/kf-backend.vala
+++ b/backends/key-file/kf-backend.vala
@@ -87,7 +87,7 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
this._add_store ((Kf.PersonaStore) store);
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -107,33 +107,33 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
file = file.get_child (filename);
return file;
}
-
+
/**
* {@inheritDoc}
* In this implementation storeids are assumed to be base filenames for
- * ini files under user_data_dir()/folks/ like the default relationships
+ * ini files under user_data_dir()/folks/ like the default relationships
* {@link PersonaStore}.
*/
public override void set_persona_stores (Set<string>? storeids)
{
/* All ids represent ini files in user_data_dir/folks/ */
-
+
bool added_stores = false;
PersonaStore[] removed_stores = {};
-
+
/* First handle adding any missing persona stores. */
foreach (string id in storeids)
{
if (this._persona_stores.has_key (id) == false)
{
File file = this._get_default_file (id);
-
+
PersonaStore store = new Kf.PersonaStore (file);
this._add_store (store, false);
added_stores = true;
}
}
-
+
foreach (PersonaStore store in this._persona_stores.values)
{
if (!storeids.contains (store.id))
@@ -141,19 +141,19 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
removed_stores += store;
}
}
-
+
for (int i = 0; i < removed_stores.length; ++i)
{
this._remove_store ((Kf.PersonaStore) removed_stores[i], false);
}
-
+
/* Finally, if anything changed, emit the persona-stores notification. */
if (added_stores || removed_stores.length > 0)
{
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -206,7 +206,7 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
/* Create the PersonaStore for the key file */
PersonaStore store = new Kf.PersonaStore (file);
-
+
this._add_store (store);
this._is_prepared = true;
@@ -240,7 +240,7 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
this.notify_property ("persona-stores");
}
}
-
+
/**
* Utility function to remove a persona store.
*
@@ -258,7 +258,7 @@ public class Folks.Backends.Kf.Backend : Folks.Backend
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
*/
diff --git a/backends/key-file/kf-persona-store.vala b/backends/key-file/kf-persona-store.vala
index 8592cf6a..fd6de12d 100644
--- a/backends/key-file/kf-persona-store.vala
+++ b/backends/key-file/kf-persona-store.vala
@@ -241,7 +241,7 @@ public class Folks.Backends.Kf.PersonaStore : Folks.PersonaStore
/* Ensure the parent directory tree exists for the new file */
File parent_dir = this.file.get_parent ();
-
+
try
{
/* Recursively create the directory */
diff --git a/backends/ofono/ofono-backend.vala b/backends/ofono/ofono-backend.vala
index f9d30c6b..9983b018 100644
--- a/backends/ofono/ofono-backend.vala
+++ b/backends/ofono/ofono-backend.vala
@@ -87,7 +87,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
this._store_removed_cb (store);
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -98,7 +98,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
this._add_store ((Ofono.PersonaStore) store);
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -106,11 +106,11 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
{
bool added_stores = false;
PersonaStore[] removed_stores = {};
-
+
/* First handle adding any missing persona stores. */
foreach (ModemProperties modem in this._modems)
{
- if (modem.path in storeids &&
+ if (modem.path in storeids &&
this._persona_stores.has_key (modem.path) == false)
{
string alias = this._modem_alias (modem.properties);
@@ -119,7 +119,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
added_stores = true;
}
}
-
+
foreach (PersonaStore store in this._persona_stores.values)
{
if (!storeids.contains (store.id))
@@ -127,19 +127,19 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
removed_stores += store;
}
}
-
+
for (int i = 0; i < removed_stores.length; ++i)
{
this._remove_store ((Ofono.PersonaStore) removed_stores[i], false);
}
-
+
/* Finally, if anything changed, emit the persona-stores notification. */
if (added_stores || removed_stores.length > 0)
{
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -261,7 +261,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
private string _modem_alias (HashTable<string, Variant> properties)
{
string alias = "";
-
+
/* Name is more user friendly than Manufacturer, but both are optional,
* so use Name if it's there, otherwise Manufacturer, otherwise leave
* it blank. */
@@ -277,7 +277,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
}
return alias;
}
-
+
private void _modem_added (ObjectPath path, HashTable<string, Variant> properties)
{
bool has_sim = false;
@@ -343,7 +343,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
this.notify_property ("persona-stores");
}
}
-
+
/**
* Utility function to remove a persona store.
*
@@ -355,13 +355,13 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
store.removed.disconnect (this._store_removed_cb);
this._persona_stores.unset (store.id);
this.persona_store_removed (store);
-
+
if (notify)
{
this.notify_property ("persona-stores");
}
}
-
+
private void _modem_removed (ObjectPath path)
{
@@ -370,7 +370,7 @@ public class Folks.Backends.Ofono.Backend : Folks.Backend
this._store_removed_cb (this._persona_stores.get (path));
}
}
-
+
private void _store_removed_cb (Folks.PersonaStore store)
{
this._remove_store ((Ofono.PersonaStore) store);
diff --git a/backends/ofono/ofono-persona-store.vala b/backends/ofono/ofono-persona-store.vala
index 38047c30..711ec7b2 100644
--- a/backends/ofono/ofono-persona-store.vala
+++ b/backends/ofono/ofono-persona-store.vala
@@ -28,7 +28,7 @@ using Folks;
using Folks.Backends.Ofono;
/**
- * A persona store which is associated with a single Ofono device. It will
+ * A persona store which is associated with a single Ofono device. It will
* create a {@link Persona} for each contact on the SIM card phonebook.
*
* @since 0.9.0
@@ -144,22 +144,22 @@ public class Folks.Backends.Ofono.PersonaStore : Folks.PersonaStore
this._remove_self ();
}
}
-
+
private void _remove_self ()
{
/* Marshal the personas from a Collection to a Set. */
var removed_personas = new HashSet<Persona> ();
var iter = this._personas.map_iterator ();
-
+
while (iter.next () == true)
{
removed_personas.add (iter.get_value ());
}
-
+
this._emit_personas_changed (null, removed_personas);
this.removed ();
}
-
+
private string[] _split_all_vcards (string all_vcards)
{
/* Ofono vcards are in vcard 3.0 format and can include the following:
diff --git a/backends/ofono/ofono-persona.vala b/backends/ofono/ofono-persona.vala
index 8a94fd9e..b4e4cb3d 100644
--- a/backends/ofono/ofono-persona.vala
+++ b/backends/ofono/ofono-persona.vala
@@ -43,7 +43,7 @@ public class Folks.Backends.Ofono.Persona : Folks.Persona,
private Set<PhoneFieldDetails> _phone_numbers_ro;
private SmallSet<EmailFieldDetails> _email_addresses;
private Set<EmailFieldDetails> _email_addresses_ro;
-
+
private const string[] _linkable_properties =
{
"phone-numbers",
@@ -147,7 +147,7 @@ public class Folks.Backends.Ofono.Persona : Folks.Persona,
{
debug ("Adding Ofono Persona '%s' (IID '%s', group '%s')", this.uid,
this.iid, this.display_id);
-
+
this._phone_numbers = new SmallSet<PhoneFieldDetails> ();
this._phone_numbers_ro = this._phone_numbers.read_only_view;
@@ -158,7 +158,7 @@ public class Folks.Backends.Ofono.Persona : Folks.Persona,
private void _set_vcard (string vcard)
{
E.VCard card = new E.VCard.from_string (vcard);
-
+
E.VCardAttribute? attribute = card.get_attribute ("TEL");
if (attribute != null)
{
@@ -170,13 +170,13 @@ public class Folks.Backends.Ofono.Persona : Folks.Persona,
{
this._full_name = attribute.get_value_decoded ().str;
}
-
+
attribute = card.get_attribute ("NICKNAME");
if (attribute != null)
{
this._nickname = attribute.get_value_decoded ().str;
}
-
+
attribute = card.get_attribute ("N");
if (attribute != null)
{
@@ -194,14 +194,14 @@ public class Folks.Backends.Ofono.Persona : Folks.Persona,
warning ("Expected 5 components to N value of vcard, got %u", values.length ());
}
}
-
+
attribute = card.get_attribute ("EMAIL");
if (attribute != null)
{
this._email_addresses.add (new EmailFieldDetails (attribute.get_value_decoded ().str) );
}
}
-
+
/**
* {@inheritDoc}
*/
diff --git a/backends/ofono/org-ofono.vala b/backends/ofono/org-ofono.vala
index cc069bdd..751ed188 100644
--- a/backends/ofono/org-ofono.vala
+++ b/backends/ofono/org-ofono.vala
@@ -29,13 +29,13 @@ namespace org
ObjectPath path;
HashTable<string, Variant> properties;
}
-
+
[DBus (name = "org.ofono.Manager")]
public interface Manager : Object
{
[DBus (name = "GetModems")]
public abstract ModemProperties[] GetModems() throws DBusError, IOError;
-
+
public signal void ModemAdded (ObjectPath path, HashTable<string, Variant> properties);
public signal void ModemRemoved (ObjectPath path);
}
@@ -46,13 +46,13 @@ namespace org
[DBus (name = "Import")]
public abstract string Import() throws DBusError, IOError;
}
-
+
[DBus (name = "org.ofono.SimManager")]
public interface SimManager : Object
{
[DBus (name = "GetProperties")]
public abstract HashTable<string, Variant> GetProperties() throws DBusError, IOError;
-
+
public signal void PropertyChanged (string property, Variant value);
}
}
diff --git a/backends/telepathy/tp-backend.vala b/backends/telepathy/tp-backend.vala
index 240f5785..7877ca02 100644
--- a/backends/telepathy/tp-backend.vala
+++ b/backends/telepathy/tp-backend.vala
@@ -61,7 +61,7 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
this._add_store (store);
}
}
-
+
/**
* {@inheritDoc}
*/
@@ -72,14 +72,14 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
this._remove_store (store);
}
}
-
+
/**
* {@inheritDoc}
*/
public override void set_persona_stores (Set<string>? storeids)
{
this._storeids = storeids;
-
+
bool added_stores = false;
PersonaStore[] removed_stores = {};
@@ -96,7 +96,7 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
added_stores = true;
}
}
-
+
foreach (PersonaStore store in this.persona_stores.values)
{
if (!storeids.contains (store.id))
@@ -104,19 +104,19 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
removed_stores += store;
}
}
-
+
foreach (PersonaStore store in removed_stores)
{
this._remove_store ((Tpf.PersonaStore) store, false);
}
-
+
/* Finally, if anything changed, emit the persona-stores notification. */
if (added_stores || removed_stores.length > 0)
{
this.notify_property ("persona-stores");
}
}
-
+
/**
* {@inheritDoc}
@@ -248,7 +248,7 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
{
return;
}
-
+
var store = Tpf.PersonaStore.dup_for_account (account);
this._add_store (store);
}
@@ -263,18 +263,18 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
this.notify_property ("persona-stores");
}
}
-
+
private void _remove_store (PersonaStore store, bool notify = true)
{
store.removed.disconnect (this._store_removed_cb);
this.persona_store_removed (store);
-
+
if (notify)
{
this.notify_property ("persona-stores");
}
}
-
+
private void _store_removed_cb (PersonaStore store)
{
this._remove_store (store);
diff --git a/backends/tracker/lib/trf-persona-store.vala b/backends/tracker/lib/trf-persona-store.vala
index 9b34c47c..e099242f 100644
--- a/backends/tracker/lib/trf-persona-store.vala
+++ b/backends/tracker/lib/trf-persona-store.vala
@@ -1877,7 +1877,7 @@ public class Trf.PersonaStore : Folks.PersonaStore
{
throw new PersonaStoreError.CREATE_FAILED("Cannot insert persona before store is prepared");
}
-
+
try
{
debug ("_insert_persona: %s", query);
diff --git a/folks/anti-linkable.vala b/folks/anti-linkable.vala
index 662a781f..a1cf8906 100644
--- a/folks/anti-linkable.vala
+++ b/folks/anti-linkable.vala
@@ -141,7 +141,7 @@ public interface Folks.AntiLinkable : Folks.Persona
* The UIDs of all personas in ``other_personas`` will be removed from this
* persona's anti-links set and the changes propagated to backends.
*
- * If the global anti-link is set, this will not have any effect until the
+ * If the global anti-link is set, this will not have any effect until the
* global anti-link is removed.
*
* This method is safe to call multiple times concurrently (e.g. begin one
diff --git a/folks/individual-aggregator.vala b/folks/individual-aggregator.vala
index aa2fc8b9..fb801001 100644
--- a/folks/individual-aggregator.vala
+++ b/folks/individual-aggregator.vala
@@ -433,7 +433,7 @@ public class Folks.IndividualAggregator : Object
/**
* Create a new IndividualAggregator with a custom {@link BackendStore}.
*
- * This behaves the same as the default constructor for
+ * This behaves the same as the default constructor for
* {@link IndividualAggregator}, but uses the given {@link BackendStore}
* rather than the default one.
*
@@ -447,7 +447,7 @@ public class Folks.IndividualAggregator : Object
{
Object (backend_store: store);
}
-
+
construct
{
this._stores = new HashMap<string, PersonaStore> ();
diff --git a/folks/role-details.vala b/folks/role-details.vala
index e986a549..dc232178 100644
--- a/folks/role-details.vala
+++ b/folks/role-details.vala
@@ -219,7 +219,7 @@ public class Folks.RoleFieldDetails : AbstractFieldDetails<Role>
/**
* {@inheritDoc}
*
- * @since 0.6.0
+ * @since 0.6.0
*/
public override bool equal (AbstractFieldDetails<Role> that)
{
diff --git a/tests/eds/create-remove-stores.vala b/tests/eds/create-remove-stores.vala
index 51df74a9..3329cc91 100644
--- a/tests/eds/create-remove-stores.vala
+++ b/tests/eds/create-remove-stores.vala
@@ -83,7 +83,7 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
try
{
yield this._backend_store.load_backends ();
-
+
var backend = this._backend_store.enabled_backends.get ("eds");
assert (backend != null);
@@ -91,7 +91,7 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
assert (this._aggregator.is_prepared);
backend.persona_store_removed.connect (this._store_removed_cb);
backend.persona_store_added.connect (this._store_added_cb);
-
+
var pstore = "test1";
this._store_removed[pstore] = false;
this._store_added[pstore] = false;
@@ -102,7 +102,7 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
pstore = "test2";
this._store_removed[pstore] = false;
this._store_added[pstore] = false;
-
+
debug ("Creating addressbook test2");
yield Edsf.PersonaStore.create_address_book (pstore);
}
@@ -118,9 +118,9 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
assert (store != null);
debug ("store removed %s", store.id);
this._store_removed[store.id] = true;
-
+
int removed_count = 0;
-
+
foreach (bool removed in this._store_removed.values)
{
if (removed)
@@ -128,7 +128,7 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
++removed_count;
}
}
-
+
debug ("removed_count is %d, expected size is %d\n", removed_count,
this._store_removed.size);
if (removed_count == this._store_removed.size)
@@ -141,10 +141,10 @@ public class CreateRemoveStoresTests : EdsTest.TestCase
{
debug ("store added %s", store.id);
this._store_added[store.id] = true;
-
+
var backend = this._backend_store.enabled_backends.get ("eds");
assert (backend != null);
-
+
debug ("removing store %s", store.id);
Edsf.PersonaStore.remove_address_book.begin ((Edsf.PersonaStore)store);
}
diff --git a/tests/eds/enable-disable-stores.vala b/tests/eds/enable-disable-stores.vala
index 18124136..3b7ea495 100644
--- a/tests/eds/enable-disable-stores.vala
+++ b/tests/eds/enable-disable-stores.vala
@@ -89,7 +89,7 @@ public class EnableDisableStoresTests : EdsTest.TestCase
try
{
yield this._backend_store.load_backends ();
-
+
var backend = this._backend_store.enabled_backends.get ("eds");
assert (backend != null);
@@ -134,10 +134,10 @@ public class EnableDisableStoresTests : EdsTest.TestCase
assert (store != null);
debug ("store removed %s", store.id);
this._n_stores_removed++;
-
+
var backend = this._backend_store.enabled_backends.get ("eds");
assert (backend != null);
-
+
debug ("enabling store %s", store.id);
backend.enable_persona_store (store);
}
diff --git a/tests/eds/set-properties.vala b/tests/eds/set-properties.vala
index 33802ed2..e4498ccd 100644
--- a/tests/eds/set-properties.vala
+++ b/tests/eds/set-properties.vala
@@ -271,7 +271,7 @@ public class SetPropertiesTests : EdsTest.TestCase
},
(p) =>
{
- ((NameDetails) p).structured_name =
+ ((NameDetails) p).structured_name =
new StructuredName.simple ("Neutron", "Jimmy");
},
(i) =>
diff --git a/tests/eds/updating-phones.vala b/tests/eds/updating-phones.vala
index f2949af6..988dcdff 100644
--- a/tests/eds/updating-phones.vala
+++ b/tests/eds/updating-phones.vala
@@ -136,7 +136,7 @@ public class ChangePhonesTests : EdsTest.TestCase
var phones = (Folks.PhoneDetails) i;
foreach (var phone_fd in phones.phone_numbers)
- {
+ {
foreach (var t in phone_fd.get_parameter_values (
AbstractFieldDetails.PARAM_TYPE))
{
diff --git a/tests/folks/async-locking.vala b/tests/folks/async-locking.vala
index c632e546..6743a4aa 100644
--- a/tests/folks/async-locking.vala
+++ b/tests/folks/async-locking.vala
@@ -10,7 +10,7 @@ public class AsyncLockingTests : Folks.TestCase
MainLoop _loop;
// This test was added to ensure removing lock (this._is_prepared) in prepare
- // Methods is not going to cause a problem.
+ // Methods is not going to cause a problem.
// See bug: https://bugzilla.gnome.org/show_bug.cgi?id=652637
public AsyncLockingTests ()
{
diff --git a/tests/lib/gtestdbus.c b/tests/lib/gtestdbus.c
index 11669f3f..00adfb5e 100644
--- a/tests/lib/gtestdbus.c
+++ b/tests/lib/gtestdbus.c
@@ -344,7 +344,7 @@ _folks_test_watcher_remove_pid (GPid pid)
* threads.
*
* ## Creating unit tests using FolksTestDBus
- *
+ *
* Testing of D-Bus services can be tricky because normally we only ever run
* D-Bus services over an existing instance of the D-Bus daemon thus we
* usually don't activate D-Bus services that are not yet installed into the
diff --git a/tests/tracker/link-personas-via-local-ids.vala b/tests/tracker/link-personas-via-local-ids.vala
index b9bb9e23..6689ae5a 100644
--- a/tests/tracker/link-personas-via-local-ids.vala
+++ b/tests/tracker/link-personas-via-local-ids.vala
@@ -121,7 +121,7 @@ public class LinkPersonasViaLocalIDsTests : TrackerTest.TestCase
private void _persona_store_prepared_cb (Object obj, ParamSpec params)
{
PersonaStore pstore = (!)(obj as PersonaStore);
-
+
_add_personas.begin (pstore);
}
diff --git a/tests/tracker/link-personas.vala b/tests/tracker/link-personas.vala
index ccc0a43c..1d481f6d 100644
--- a/tests/tracker/link-personas.vala
+++ b/tests/tracker/link-personas.vala
@@ -123,10 +123,10 @@ public class LinkPersonasTests : TrackerTest.TestCase
private void _persona_store_prepared_cb (Object obj, ParamSpec params)
{
PersonaStore pstore = (!)(obj as PersonaStore);
-
+
_add_personas.begin (pstore);
}
-
+
/* Here is how this test is expected to work:
* - we start by adding 2 personas
* - this should trigger individuals-changed with 2 new individuals
diff --git a/tools/inspect/command-set.vala b/tools/inspect/command-set.vala
index 76bb7732..846ab605 100644
--- a/tools/inspect/command-set.vala
+++ b/tools/inspect/command-set.vala
@@ -97,11 +97,11 @@ private class Folks.Inspect.Commands.Set : Folks.Inspect.Command
Utils.print_line ("Unrecognized individual ID '%s'.", id);
return 1;
}
-
+
try
{
var persona = yield this.client.aggregator.ensure_individual_property_writeable (individual,
"alias");
-
+
/* Since the individual may have changed, use the individual from the new persona. */
persona.individual.alias = parts[2];
Utils.print_line ("Setting of individual's alias to '%s' was successful.",
@@ -187,7 +187,7 @@ private class Folks.Inspect.Commands.Set : Folks.Inspect.Command
return null;
}
-
+
public override string[]? complete_subcommand (string subcommand)
{
/* @subcommand should be “alias” */
diff --git a/tools/inspect/inspect.vala b/tools/inspect/inspect.vala
index 4bbf8ab6..c4860d76 100644
--- a/tools/inspect/inspect.vala
+++ b/tools/inspect/inspect.vala
@@ -130,7 +130,7 @@ public class Folks.Inspect.Client : Object
main_client.quit ();
});
}
-
+
main_client.main_loop.run ();
return retval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]