[rygel] tracker: Make two method private



commit b8768fb6dd82816dfb9efcc23f0cb35fc226d3ad
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Nov 12 18:16:39 2009 +0200

    tracker: Make two method private
    
    'create_item' and 'get_item_info' are now private methods.

 .../tracker/rygel-tracker-search-container.vala    |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala b/src/plugins/tracker/rygel-tracker-search-container.vala
index 1b057b2..321a613 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -278,10 +278,10 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
         }
     }
 
-    public MediaItem? create_item (string   service,
-                                   string   path,
-                                   string[] metadata)
-                                   throws GLib.Error {
+    private MediaItem? create_item (string   service,
+                                    string   path,
+                                    string[] metadata)
+                                    throws GLib.Error {
         var id = service + ":" + this.id + ":" + path;
 
         if (service == TrackerVideoItem.SERVICE) {
@@ -306,9 +306,9 @@ public class Rygel.TrackerSearchContainer : Rygel.MediaContainer {
 
     // Returns the path, ID of the parent and service this item belongs to, or
     // null item_id is invalid
-    public string? get_item_info (string     item_id,
-                                  out string parent_id,
-                                  out string service) {
+    private string? get_item_info (string     item_id,
+                                   out string parent_id,
+                                   out string service) {
         var tokens = item_id.split (":", 3);
 
         if (tokens[0] != null && tokens[1] != null && tokens[2] != null) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]