rygel r595 - trunk/src/plugins/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r595 - trunk/src/plugins/tracker
- Date: Sat, 14 Feb 2009 15:33:01 +0000 (UTC)
Author: zeeshanak
Date: Sat Feb 14 15:33:01 2009
New Revision: 595
URL: http://svn.gnome.org/viewvc/rygel?rev=595&view=rev
Log:
Put the result object to list as soon as it is created.
Modified:
trunk/src/plugins/tracker/rygel-tracker-container.vala
Modified: trunk/src/plugins/tracker/rygel-tracker-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-container.vala (original)
+++ trunk/src/plugins/tracker/rygel-tracker-container.vala Sat Feb 14 15:33:01 2009
@@ -155,6 +155,8 @@
AsyncReadyCallback callback) {
var res = new TrackerGetMetadataResult (this, callback, id);
+ this.results.add (res);
+
try {
string path = this.get_item_path (id);
if (path == null) {
@@ -162,8 +164,6 @@
"No such object");
}
- this.results.add (res);
-
string[] keys = this.get_metadata_keys ();
this.metadata.Get (this.category, path, keys, res.ready);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]