[totem-pl-parser] lib: Fix warnings from introspection



commit 8a9c5a7c81bbbea91eb2bfef33e7d9482095228f
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Oct 21 16:12:14 2011 +0100

    lib: Fix warnings from introspection
    
    The private marshallers were using the same prefix as public
    functions, causing warnings from the introspection tools.

 plparse/Makefile.am       |    4 ++--
 plparse/totem-pl-parser.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plparse/Makefile.am b/plparse/Makefile.am
index 4bbd4cf..18d8b3e 100644
--- a/plparse/Makefile.am
+++ b/plparse/Makefile.am
@@ -7,10 +7,10 @@ MARSHALFILES = totemplparser-marshal.c totemplparser-marshal.h
 BUILT_SOURCES = $(MARSHALFILES)
 
 totemplparser-marshal.c: totemplparser-marshal.list
-	 $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal --header --body --internal $< > $@
+	 $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_totemplparser_marshal --header --body --internal $< > $@
 
 totemplparser-marshal.h: totemplparser-marshal.list
-	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=totemplparser_marshal --header --internal $< > $@
+	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_totemplparser_marshal --header --internal $< > $@
 
 plparserincludedir = $(pkgincludedir)/1/plparser
 plparserinclude_HEADERS =			\
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index ea1e9c3..d2203ac 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -404,7 +404,7 @@ totem_pl_parser_class_init (TotemPlParserClass *klass)
 			      G_SIGNAL_RUN_LAST,
 			      G_STRUCT_OFFSET (TotemPlParserClass, entry_parsed),
 			      NULL, NULL,
-			      totemplparser_marshal_VOID__STRING_BOXED,
+			      _totemplparser_marshal_VOID__STRING_BOXED,
 			      G_TYPE_NONE, 2, G_TYPE_STRING, TOTEM_TYPE_PL_PARSER_METADATA);
 	/**
 	 * TotemPlParser::playlist-started:
@@ -424,7 +424,7 @@ totem_pl_parser_class_init (TotemPlParserClass *klass)
 			      G_SIGNAL_RUN_LAST,
 			      G_STRUCT_OFFSET (TotemPlParserClass, playlist_started),
 			      NULL, NULL,
-			      totemplparser_marshal_VOID__STRING_BOXED,
+			      _totemplparser_marshal_VOID__STRING_BOXED,
 			      G_TYPE_NONE, 2, G_TYPE_STRING, TOTEM_TYPE_PL_PARSER_METADATA);
 	/**
 	 * TotemPlParser::playlist-ended:



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