zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #03951
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 226: Cleanup superfluous spaces in ds-registry.vala.
------------------------------------------------------------
revno: 226
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Mon 2011-09-05 13:16:46 +0200
message:
Cleanup superfluous spaces in ds-registry.vala.
modified:
extensions/ds-registry.vala
--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/ds-registry.vala'
--- extensions/ds-registry.vala 2011-09-05 10:27:02 +0000
+++ extensions/ds-registry.vala 2011-09-05 11:16:46 +0000
@@ -189,7 +189,7 @@
return array.end ();
}
- private bool is_sender_known(BusName? sender,
+ private bool is_sender_known(BusName? sender,
GenericArray<BusName?> sender_array)
{
for (int i=0; i<sender_array.length; i++)
@@ -204,7 +204,7 @@
string description, Variant event_templates, BusName? sender)
{
debug ("%s: %s, %s, %s", Log.METHOD, unique_id, name, description);
-
+
var sender_array = running.lookup(unique_id);
if (sender_array == null)
{
@@ -215,7 +215,7 @@
{
running.lookup(unique_id).add(sender);
}
-
+
unowned DataSource? ds = sources.lookup (unique_id);
if (ds != null)
{
@@ -259,7 +259,7 @@
warning ("DataSource \"%s\" wasn't registered!", unique_id);
}
}
-
+
public Variant get_data_source_from_id (string unique_id) throws Error
{
unowned DataSource? ds = sources.lookup (unique_id);
@@ -271,7 +271,7 @@
throw new EngineError.INVALID_KEY (
"Datasource with unique ID: %s not found".printf (unique_id));
}
-
+
public override void pre_insert_events(GenericArray<Event?> events,
BusName? sender)
{
@@ -293,7 +293,7 @@
}
}
}
-
+
private bool write_to_disk()
{
//FIXME: Write to disk needs to be implemented