rygel r495 - trunk/src/plugins/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r495 - trunk/src/plugins/tracker
- Date: Wed, 28 Jan 2009 12:33:16 +0000 (UTC)
Author: zeeshanak
Date: Wed Jan 28 12:33:16 2009
New Revision: 495
URL: http://svn.gnome.org/viewvc/rygel?rev=495&view=rev
Log:
Remove now unneeded TrackerContainer.add_item_from_db.
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 Wed Jan 28 12:33:16 2009
@@ -137,33 +137,6 @@
return children;
}
- public bool add_item_from_db (DIDLLiteWriter didl_writer,
- string path) {
- MediaItem item = null;
-
- try {
- item = this.get_item_from_db (path);
- } catch (GLib.Error error) {
- critical ("Failed to fetch item %s. Reason: %s",
- item.id,
- error.message);
-
- return false;
- }
-
- try {
- item.serialize (didl_writer);
- } catch (GLib.Error error) {
- critical ("Failed to serialize item %s. Reason: %s",
- item.id,
- error.message);
-
- return false;
- }
-
- return true;
- }
-
public static string get_file_category (string uri) throws GLib.Error {
string category;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]