summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-06-21 11:40:37 +0200
committerBastien Nocera <hadess@hadess.net>2022-06-21 11:40:37 +0200
commit489d88e9aac584ee245964d69955ab7aba163fc6 (patch)
tree2ca3db74e4251248138334c5a5212d999969dd92
parent915a33a3fc56d8f1443393091f3f9b212bd624f8 (diff)
downloadtotem-pl-parser-489d88e9aac584ee245964d69955ab7aba163fc6.tar.gz
plparser: Fix TotemPlParserMetadata in bindings
Remove TotemPlParserMetadata as a separate type. It will only be exposes in C, not in bindings. This fixes gjs warnings such as: (gjs:2781): Gjs-WARNING **: 21:48:14.325: JS ERROR: Error: No introspection information found for TotemPlParserMetadata Closes: #22
-rw-r--r--plparse/totem-pl-parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index e10d40e..edb4cdf 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -408,7 +408,7 @@ totem_pl_parser_class_init (TotemPlParserClass *klass)
G_STRUCT_OFFSET (TotemPlParserClass, entry_parsed),
NULL, NULL,
_totemplparser_marshal_VOID__STRING_BOXED,
- G_TYPE_NONE, 2, G_TYPE_STRING, TOTEM_TYPE_PL_PARSER_METADATA);
+ G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_HASH_TABLE);
/**
* TotemPlParser::playlist-started:
* @parser: the object which received the signal
@@ -428,7 +428,7 @@ totem_pl_parser_class_init (TotemPlParserClass *klass)
G_STRUCT_OFFSET (TotemPlParserClass, playlist_started),
NULL, NULL,
_totemplparser_marshal_VOID__STRING_BOXED,
- G_TYPE_NONE, 2, G_TYPE_STRING, TOTEM_TYPE_PL_PARSER_METADATA);
+ G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_HASH_TABLE);
/**
* TotemPlParser::playlist-ended:
* @parser: the object which received the signal