[totem] grilo: Use new _set_resolution_flags() function
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Use new _set_resolution_flags() function
- Date: Fri, 20 Feb 2015 18:34:10 +0000 (UTC)
commit ed0d46705a44162869bd92ef2a047e4d20b1e7f0
Author: Bastien Nocera <hadess hadess net>
Date: Fri Feb 20 19:14:04 2015 +0100
grilo: Use new _set_resolution_flags() function
Instead of the deprecated version.
src/totem-grilo.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/totem-grilo.c b/src/totem-grilo.c
index 67d4fd8..91d4e5f 100644
--- a/src/totem-grilo.c
+++ b/src/totem-grilo.c
@@ -578,7 +578,7 @@ add_local_metadata (TotemGrilo *self,
}
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_NORMAL);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_NORMAL);
grl_source_resolve_sync (self->priv->local_metadata_src,
media,
self->priv->metadata_keys,
@@ -734,7 +734,7 @@ browse (TotemGrilo *self,
caps = grl_source_get_caps (source, GRL_OP_BROWSE);
default_options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (default_options, BROWSE_FLAGS);
+ grl_operation_options_set_resolution_flags (default_options, BROWSE_FLAGS);
if (page >= 1) {
grl_operation_options_set_skip (default_options, (page - 1) * PAGE_SIZE);
grl_operation_options_set_count (default_options, PAGE_SIZE);
@@ -843,7 +843,7 @@ get_search_options (TotemGrilo *self)
GrlOperationOptions *supported_options;
default_options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (default_options, BROWSE_FLAGS);
+ grl_operation_options_set_resolution_flags (default_options, BROWSE_FLAGS);
grl_operation_options_set_skip (default_options, self->priv->search_page * PAGE_SIZE);
grl_operation_options_set_count (default_options, PAGE_SIZE);
grl_operation_options_set_type_filter (default_options, GRL_TYPE_FILTER_VIDEO);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]