summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-05-13 08:39:52 +0200
committerBastien Nocera <hadess@hadess.net>2015-02-17 13:35:17 +0100
commitc65c68bd8aa302869782e12a6be93494c5909fc1 (patch)
tree32d7221a2121dc17bd59231735e92823edd3f820 /libs
parent6329e1be0d3e585ccbdf5d6fbf416c15ce6f93f4 (diff)
downloadgrilo-c65c68bd8aa302869782e12a6be93494c5909fc1.tar.gz
core: Rename GrlOperationOptions "flags" to "resolution-flags"
And add the associated functions as well. Deprecate the old functions. https://bugzilla.gnome.org/show_bug.cgi?id=724308
Diffstat (limited to 'libs')
-rw-r--r--libs/pls/grl-pls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pls/grl-pls.c b/libs/pls/grl-pls.c
index 712ef78..7b21ff4 100644
--- a/libs/pls/grl-pls.c
+++ b/libs/pls/grl-pls.c
@@ -522,7 +522,7 @@ grl_media_new_from_pls_entry (const gchar *uri,
file = g_file_new_for_uri (uri);
options = grl_operation_options_new (NULL);
- grl_operation_options_set_flags (options, GRL_RESOLVE_FAST_ONLY);
+ grl_operation_options_set_resolution_flags (options, GRL_RESOLVE_FAST_ONLY);
media = grl_pls_file_to_media (NULL, file, NULL, FALSE, options);
g_object_unref (options);
g_object_unref (file);
@@ -1133,7 +1133,7 @@ set_container_childcount (GFile *file,
so we can only check if the directory is totally empty (no subdirs,
and no files), otherwise we just say we do not know the actual
childcount */
- if (grl_operation_options_get_flags (options) & GRL_RESOLVE_FAST_ONLY) {
+ if (grl_operation_options_get_resolution_flags (options) & GRL_RESOLVE_FAST_ONLY) {
grl_media_box_set_childcount (GRL_MEDIA_BOX (media),
GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN);
return;