[grilo-plugins] tests: Fix deprecation warnings in last.fm tests
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tests: Fix deprecation warnings in last.fm tests
- Date: Fri, 6 Mar 2015 10:26:33 +0000 (UTC)
commit 776aed0862d18200671f5039d57fe2c1f1711dc3
Author: Bastien Nocera <hadess hadess net>
Date: Fri Mar 6 11:21:23 2015 +0100
tests: Fix deprecation warnings in last.fm tests
tests/lastfm-albumart/test_lastfm_albumart.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/lastfm-albumart/test_lastfm_albumart.c b/tests/lastfm-albumart/test_lastfm_albumart.c
index c4831c1..0966068 100644
--- a/tests/lastfm-albumart/test_lastfm_albumart.c
+++ b/tests/lastfm-albumart/test_lastfm_albumart.c
@@ -161,7 +161,7 @@ test_resolve_good_found (void)
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_THUMBNAIL, NULL);
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_FULL);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FULL);
grl_source_resolve_sync (source, media, keys, options, &error);
@@ -211,7 +211,7 @@ test_resolve_good_found_default (void)
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_THUMBNAIL, NULL);
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_FULL);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FULL);
grl_source_resolve_sync (source, media, keys, options, &error);
@@ -247,7 +247,7 @@ test_resolve_good_not_found (void)
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_THUMBNAIL, NULL);
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_FULL);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FULL);
grl_source_resolve_sync (source, media, keys, options, &error);
@@ -283,7 +283,7 @@ test_resolve_missing_key (void)
keys = grl_metadata_key_list_new (GRL_METADATA_KEY_THUMBNAIL, NULL);
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_FULL);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FULL);
grl_source_resolve_sync (source, media, keys, options, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]