summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2019-07-17 09:58:48 +0200
committerVictor Toso <me@victortoso.com>2019-07-17 10:09:00 +0200
commit7a89983f697566bc14225c480f8b1e8ffd041dd6 (patch)
treeca9eb36fbc3ca849c320736a7e8331ed926ceba9
parent1c21f1d75bca39a2c9a7567e25c21b0bc08311b9 (diff)
downloadgrilo-7a89983f697566bc14225c480f8b1e8ffd041dd6.tar.gz
grl-metadata-key: fix introspection
The following commit has break gobject-introspection of Grilo after a comment with a line break was added to deprecate a constant: 608eba2 "core: deprecate mb-album-id metadata-key and related API" in 2019-07-15 by Victor Toso <me@victortoso.com> The issue is being tracked at [0] but a simple workaround is to remove the line break. [0] https://gitlab.gnome.org/GNOME/gobject-introspection/issues/294 Before this patch, grl-metadata-keys with value from 53 to 62 were lost in introspection, that is, from GRL_METADATA_KEY_MB_TRACK_ID till the recent GRL_METADATA_KEY_MB_RELEASE_GROUP_ID
-rw-r--r--src/grl-metadata-key.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/grl-metadata-key.h b/src/grl-metadata-key.h
index 6ee7eaf..9d58031 100644
--- a/src/grl-metadata-key.h
+++ b/src/grl-metadata-key.h
@@ -116,8 +116,7 @@ typedef enum {
#define GRL_METADATA_KEY_ORIGINAL_TITLE 49
#define GRL_METADATA_KEY_SIZE 50
#define GRL_METADATA_KEY_TITLE_FROM_FILENAME 51
-#define GRL_METADATA_KEY_MB_ALBUM_ID 52 /* Deprecated: use GRL_METADATA_KEY_MB_RELEASE_ID
- or GRL_METADATA_KEY_MB_RELEASE_GROUP_ID */
+#define GRL_METADATA_KEY_MB_ALBUM_ID 52 /* Deprecated: use GRL_METADATA_KEY_MB_RELEASE_ID or GRL_METADATA_KEY_MB_RELEASE_GROUP_ID */
#define GRL_METADATA_KEY_MB_TRACK_ID 53
#define GRL_METADATA_KEY_MB_ARTIST_ID 54
#define GRL_METADATA_KEY_MB_RECORDING_ID 55