[grilo] core: Rename function to get operation id



commit ed7b6ad215bfcc7d87449517f4f59e75349b6630
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Mon Jul 12 11:10:31 2010 +0200

    core: Rename function to get operation id
    
    Previously it was making reference to browse, while actually it would make
    reference to more abstract "operation".

 src/grl-media-source.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/grl-media-source.c b/src/grl-media-source.c
index 626f2e8..0d6b887 100644
--- a/src/grl-media-source.c
+++ b/src/grl-media-source.c
@@ -163,7 +163,7 @@ static gboolean
 operation_is_finished (GrlMediaSource *source,
 		       guint operation_id) __attribute__ ((unused)) ;
 
-static guint grl_media_source_gen_browse_id (GrlMediaSource *source);
+static guint grl_media_source_gen_operation_id (GrlMediaSource *source);
 
 /* ================ GrlMediaSource GObject ================ */
 
@@ -217,7 +217,7 @@ grl_media_source_init (GrlMediaSource *source)
 }
 
 static guint
-grl_media_source_gen_browse_id (GrlMediaSource *source)
+grl_media_source_gen_operation_id (GrlMediaSource *source)
 {
   GrlMediaSourceClass *klass;
   klass = GRL_MEDIA_SOURCE_GET_CLASS (source);
@@ -1168,7 +1168,7 @@ grl_media_source_browse (GrlMediaSource *source,
     }
   }
 
-  browse_id = grl_media_source_gen_browse_id (source);
+  browse_id = grl_media_source_gen_operation_id (source);
 
   /* Always hook an own relay callback so we can do some
      post-processing before handing out the results
@@ -1303,7 +1303,7 @@ grl_media_source_search (GrlMediaSource *source,
     }
   }
 
-  search_id = grl_media_source_gen_browse_id (source);
+  search_id = grl_media_source_gen_operation_id (source);
 
   brc = g_new0 (struct BrowseRelayCb, 1);
   brc->chained = relay_chained;
@@ -1435,7 +1435,7 @@ grl_media_source_query (GrlMediaSource *source,
     }
   }
 
-  query_id = grl_media_source_gen_browse_id (source);
+  query_id = grl_media_source_gen_operation_id (source);
 
   brc = g_new0 (struct BrowseRelayCb, 1);
   brc->chained = relay_chained;



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