rygel r571 - trunk/src/plugins/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r571 - trunk/src/plugins/tracker
- Date: Sat, 14 Feb 2009 15:24:04 +0000 (UTC)
Author: zeeshanak
Date: Sat Feb 14 15:24:04 2009
New Revision: 571
URL: http://svn.gnome.org/viewvc/rygel?rev=571&view=rev
Log:
Rename find_item* to fetch_item*.
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:24:04 2009
@@ -123,7 +123,7 @@
/* Iterate through all items */
for (uint i = 0; i < child_paths.length; i++) {
- MediaObject item = this.find_item_by_path (child_paths[i]);
+ MediaObject item = this.fetch_item_by_path (child_paths[i]);
children.add (item);
}
@@ -153,7 +153,7 @@
var res = new Rygel.SimpleAsyncResult<MediaObject> (this, callback);
try {
- res.data = this.find_item (id);
+ res.data = this.fetch_item (id);
} catch (GLib.Error error) {
res.error = error;
}
@@ -202,17 +202,17 @@
}
}
- private MediaItem? find_item (string id) throws GLib.Error {
+ private MediaItem? fetch_item (string id) throws GLib.Error {
string path = this.get_item_path (id);
if (path == null) {
return null;
}
- return this.find_item_by_path (path);
+ return this.fetch_item_by_path (path);
}
- private MediaItem? find_item_by_path (string path) throws GLib.Error {
+ private MediaItem? fetch_item_by_path (string path) throws GLib.Error {
MediaItem item;
if (this.child_class == MediaItem.VIDEO_CLASS) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]