[totem] grilo: Remove use of deprecated function



commit f9e070003cff2bc17ba77c0e9f43582ac740b1e0
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 6 16:53:01 2011 +0100

    grilo: Remove use of deprecated function
    
    grl_metadata_source_cancel() was replaced.

 src/plugins/grilo/totem-grilo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/grilo/totem-grilo.c b/src/plugins/grilo/totem-grilo.c
index a603256..e7b764f 100644
--- a/src/plugins/grilo/totem-grilo.c
+++ b/src/plugins/grilo/totem-grilo.c
@@ -773,8 +773,7 @@ search_source_changed_cb (GtkComboBox *combo,
 			  TotemGriloPlugin *self)
 {
 	if (self->priv->search_id > 0) {
-		grl_metadata_source_cancel (GRL_METADATA_SOURCE (self->priv->search_source),
-					    self->priv->search_id);
+		grl_operation_cancel (self->priv->search_id);
 		self->priv->search_id = 0;
 	}
 	gtk_list_store_clear (GTK_LIST_STORE (self->priv->search_results_model));



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