[grilo] grl-metadata-key: fix introspection
- From: Victor Toso <victortoso src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] grl-metadata-key: fix introspection
- Date: Wed, 17 Jul 2019 08:39:02 +0000 (UTC)
commit 7a89983f697566bc14225c480f8b1e8ffd041dd6
Author: Victor Toso <me victortoso com>
Date: Wed Jul 17 09:58:48 2019 +0200
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
src/grl-metadata-key.h | 3 +--
1 file changed, 1 insertion(+), 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]