[totem-pl-parser/wip/hadess/bindings-fixes: 5/5] plparser: Fix TotemPlParserMetadata in bindings




commit 489d88e9aac584ee245964d69955ab7aba163fc6
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 21 11:40:37 2022 +0200

    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

 plparse/totem-pl-parser.c | 4 ++--
 1 file 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]